diff options
author | Ypnose <linuxien@legtux.org> | 2014-05-01 20:19:08 +0200 |
---|---|---|
committer | Ypnose <linuxien@legtux.org> | 2014-05-01 20:19:08 +0200 |
commit | 6cd058e281f44aa3bb9819b41bff48c47b2eae98 (patch) | |
tree | 7abf83ccc62c0909f7808b3e1fde3fafb3580456 | |
parent | 113f70fb56368a87d39027fa6f8c3044ea357971 (diff) | |
download | runit-void-6cd058e281f44aa3bb9819b41bff48c47b2eae98.tar.gz runit-void-6cd058e281f44aa3bb9819b41bff48c47b2eae98.tar.xz runit-void-6cd058e281f44aa3bb9819b41bff48c47b2eae98.zip |
New service: upsmon
-rwxr-xr-x | services/upsmon/run | 6 | ||||
l--------- | services/upsmon/supervise | 1 |
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 |