Add OpenRC service and basic documentation

This commit is contained in:
RandyTheSilly committed 2025-10-18 17:11:40 -04:00
1 parent 5521f79107
commit 6c1f9a2e0f
2 files changed
+22

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/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
}