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