diff options
author | Ypnose <linuxien@legtux.org> | 2014-05-01 20:18:45 +0200 |
---|---|---|
committer | Ypnose <linuxien@legtux.org> | 2014-05-01 20:18:45 +0200 |
commit | 31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc (patch) | |
tree | d8d6de3776c6cc3146d924027f5cd820af859c11 | |
parent | a1b6104ec451381b65a87eba87e0f356b18fec76 (diff) | |
download | runit-void-31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc.tar.gz runit-void-31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc.tar.xz runit-void-31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc.zip |
New service: upsd
-rwxr-xr-x | services/upsd/run | 6 | ||||
l--------- | services/upsd/supervise | 1 |
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 |