fixes the webserver default file path issues
This commit is contained in:
parent
1b7b4385c0
commit
c002283387
|
|
@ -97,7 +97,7 @@
|
|||
enable = false
|
||||
port = 37288
|
||||
# The HTML path is different on Windows and BSD/macOS.
|
||||
html_path = "/usr/lib/unifi-poller/web"
|
||||
html_path = "/usr/local/lib/unpoller/web"
|
||||
ssl_cert_path = ""
|
||||
ssl_key_path = ""
|
||||
# How many events per event group to hold. 200-2000. Use fewer with many sites.
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
"webserver": {
|
||||
"enable": false,
|
||||
"port": 37288,
|
||||
"html_path": "/usr/lib/unifi-poller/web",
|
||||
"html_path": "/usr/local/lib/unpoller/web",
|
||||
"ssl_cert_path": "",
|
||||
"ssl_key_path": "",
|
||||
"max_events": 200,
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ influxdb:
|
|||
webserver:
|
||||
enable: false
|
||||
port: 37288
|
||||
html_path: "/usr/lib/unifi-poller/web"
|
||||
html_path: "/usr/local/lib/unpoller/web"
|
||||
ssl_cert_path: ""
|
||||
ssl_key_path: ""
|
||||
max_events: 200
|
||||
|
|
|
|||
|
|
@ -53,10 +53,10 @@ func DefaultObjPath() string {
|
|||
case "netbsd":
|
||||
fallthrough
|
||||
case "openbsd":
|
||||
return "/usr/local/lib/unifi-poller"
|
||||
return "/usr/local/lib/unpoller"
|
||||
default:
|
||||
// linux and everything else
|
||||
return "/usr/lib/unifi-poller"
|
||||
return "/usr/local/lib/unpoller"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue