summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/network-ups-tools/run.upsmon
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/community/network-ups-tools/run.upsmon')
-rw-r--r--abs/extra-testing/community/network-ups-tools/run.upsmon9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/extra-testing/community/network-ups-tools/run.upsmon b/abs/extra-testing/community/network-ups-tools/run.upsmon
new file mode 100644
index 0000000..bbdc68d
--- /dev/null
+++ b/abs/extra-testing/community/network-ups-tools/run.upsmon
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+svwaitup 3 /var/service/upsdrvctl /var/service/upsd || exit 1
+
+ stat_runit "Starting UPS Monitor Daemon"
+ exec /usr/bin/upsmon -D &> /dev/null