mirror of
https://github.com/rwinkhart/unifi-shutd.git
synced 2026-09-01 14:37:23 -04:00
13 lines
249 B
Plaintext
13 lines
249 B
Plaintext
#!/sbin/openrc-run
|
|
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>"
|
|
|
|
depend() {
|
|
need net localmount
|
|
after firewall
|
|
}
|