mirror of
https://github.com/rwinkhart/unifi-shutd.git
synced 2026-08-28 04:36:29 -04:00
Support authentication and auto-UPS-ID-detection
This commit is contained in:
+3
-1
@@ -4,7 +4,9 @@ supervisor=supervise-daemon
|
||||
name="UniFi UPS safe shutdown"
|
||||
|
||||
command="/usr/local/bin/unifi-shutd"
|
||||
command_args="<ip:port> <ups id> <scan interval> <bad scan limit>"
|
||||
command_args="start"
|
||||
output_log="/var/log/unifi-shutd.log"
|
||||
error_log="/var/log/unifi-shutd.log"
|
||||
|
||||
depend() {
|
||||
need net localmount
|
||||
|
||||
Reference in New Issue
Block a user