Support authentication and auto-UPS-ID-detection

This commit is contained in:
2025-12-13 19:18:37 -05:00
parent 47a2a02e90
commit 7b38b6a4e2
5 changed files with 97 additions and 24 deletions
+3 -1
View File
@@ -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