You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
717 B
14 lines
717 B
Index: src/github.com/victorcoder/dkron/cmd/dkron.go |
|
--- src/github.com/victorcoder/dkron/cmd/dkron.go.orig 2018-09-01 11:12:09.000000000 +0200 |
|
+++ src/github.com/victorcoder/dkron/cmd/dkron.go 2018-09-01 11:20:33.197067000 +0200 |
|
@@ -46,9 +46,8 @@ |
|
viper.SetConfigFile(cfgFile) |
|
} else { |
|
viper.SetConfigName("dkron") // name of config file (without extension) |
|
- viper.AddConfigPath("/etc/dkron") // call multiple times to add many search paths |
|
+ viper.AddConfigPath("@l_prefix@/etc/dkron") |
|
viper.AddConfigPath("$HOME/.dkron") // call multiple times to add many search paths |
|
- viper.AddConfigPath("./config") // call multiple times to add many search paths |
|
} |
|
|
|
viper.SetEnvPrefix("dkron")
|
|
|