about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xservices/upsmon/run6
l---------services/upsmon/supervise1
2 files changed, 7 insertions, 0 deletions
diff --git a/services/upsmon/run b/services/upsmon/run
new file mode 100755
index 0000000..f60673a
--- /dev/null
+++ b/services/upsmon/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Network UPS Tools - monitor and shutdown controller
+
+echo "Starting upsmon..."
+# upsmon will run in the foreground and prints information on stdout
+exec /usr/bin/upsmon -D
diff --git a/services/upsmon/supervise b/services/upsmon/supervise
new file mode 120000
index 0000000..1289730
--- /dev/null
+++ b/services/upsmon/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.upsmon
\ No newline at end of file