mirror of
https://github.com/unpoller/unpoller.git
synced 2026-03-31 06:33:57 -04:00
fix the default missing config based off example config, this was affecting #443
This commit is contained in:
@@ -33,10 +33,10 @@ func DefaultConfFile() string {
|
||||
case "netbsd":
|
||||
fallthrough
|
||||
case "openbsd":
|
||||
return "/etc/unifi-poller/up.conf,/usr/local/etc/unifi-poller/up.conf"
|
||||
return "/etc/unpoller/up.conf,/etc/unifi-poller/up.conf,/usr/local/etc/unifi-poller/up.conf"
|
||||
default:
|
||||
// linux and everything else
|
||||
return "/config/unifi-poller.conf,/etc/unifi-poller/up.conf"
|
||||
return "/etc/unpoller/up.conf,/config/unifi-poller.conf,/etc/unifi-poller/up.conf"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user