mirror of
https://github.com/rwinkhart/unifi-shutd.git
synced 2026-08-28 04:36:29 -04:00
15 lines
278 B
Plaintext
15 lines
278 B
Plaintext
#!/sbin/openrc-run
|
|
supervisor=supervise-daemon
|
|
|
|
name="UniFi UPS safe shutdown"
|
|
|
|
command="/usr/local/bin/unifi-shutd"
|
|
command_args="start"
|
|
output_log="/var/log/unifi-shutd.log"
|
|
error_log="/var/log/unifi-shutd.log"
|
|
|
|
depend() {
|
|
need net localmount
|
|
after firewall
|
|
}
|