about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorYpnose <linuxien@legtux.org>2014-05-01 20:19:08 +0200
committerYpnose <linuxien@legtux.org>2014-05-01 20:19:08 +0200
commit6cd058e281f44aa3bb9819b41bff48c47b2eae98 (patch)
tree7abf83ccc62c0909f7808b3e1fde3fafb3580456 /services
parent113f70fb56368a87d39027fa6f8c3044ea357971 (diff)
downloadrunit-void-6cd058e281f44aa3bb9819b41bff48c47b2eae98.tar.gz
runit-void-6cd058e281f44aa3bb9819b41bff48c47b2eae98.tar.xz
runit-void-6cd058e281f44aa3bb9819b41bff48c47b2eae98.zip
New service: upsmon
Diffstat (limited to 'services')
-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