1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00

Fix default config path

Instead of /etc/birdwatcher the config file location was assumed to
be in etc/birdwatcher relative to the working directory at execution.
This commit is contained in:
Benedikt Rudolph 2018-10-29 12:02:27 +01:00
parent c1db0320e3
commit 5e49d6d4a3
2 changed files with 1 additions and 1 deletions

View file

@ -128,7 +128,7 @@ func (m *MyLogger) Write(p []byte) (n int, err error) {
func main() {
bird6 := flag.Bool("6", false, "Use bird6 instead of bird")
workerPoolSize := flag.Int("worker-pool-size", 8, "Number of go routines used to parse routing tables concurrently")
configfile := flag.String("config", "etc/birdwatcher/birdwatcher.conf", "Configuration file location")
configfile := flag.String("config", "/etc/birdwatcher/birdwatcher.conf", "Configuration file location")
flag.Parse()
bird.WorkerPoolSize = *workerPoolSize