fixes the webserver default file path issues

This commit is contained in:
Cody Lee 2023-04-13 09:56:24 -05:00
parent 1b7b4385c0
commit c002283387
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

@ -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,

View File

@ -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

View File

@ -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"
}
}