summary refs log tree commit diff
diff options
context:
space:
mode:
authorYpnose <linuxien@legtux.org>2014-05-01 20:18:45 +0200
committerYpnose <linuxien@legtux.org>2014-05-01 20:18:45 +0200
commit31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc (patch)
treed8d6de3776c6cc3146d924027f5cd820af859c11
parenta1b6104ec451381b65a87eba87e0f356b18fec76 (diff)
downloadrunit-void-31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc.tar.gz
runit-void-31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc.tar.xz
runit-void-31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc.zip
New service: upsd
-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