Skip to content

Commit

Permalink
Allow /usr/local/etc/infping as config path
Browse files Browse the repository at this point in the history
  • Loading branch information
amgxv committed Oct 12, 2019
1 parent 2e3d20f commit f06b33d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infping.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ func readConfiguration() {
viper.AddConfigPath("/etc/")
viper.AddConfigPath("/etc/infping/")
viper.AddConfigPath("/usr/local/etc/")
viper.AddConfigPath("/usr/local/etc/infping/")
viper.AddConfigPath("/config/")
viper.AddConfigPath(".")
if err := viper.ReadInConfig(); err != nil {
Expand Down

0 comments on commit f06b33d

Please sign in to comment.