1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

Turn chasquid-userdb into chasquid-util

This patch removes chasquid-userdb and adds a more generic and extensive
chasquid-util, that supports various operations on user databases as well as
aliases lookups.

The code is not very pretty but for now I took a more practical approach, the
tool is ancillary and can be tidied up later.
This commit is contained in:
Alberto Bertogli
2016-09-24 00:44:13 +01:00
parent 859d4733f8
commit 3d06fb3a78
6 changed files with 205 additions and 101 deletions

View File

@@ -60,6 +60,7 @@ func main() {
if err != nil {
glog.Fatalf("Error reading config")
}
config.LogConfig(conf)
// Change to the config dir.
// This allow us to use relative paths for configuration directories.