From 31ee3d7e6d13cf79f627a1dd8f3abc9836b6bdcc Mon Sep 17 00:00:00 2001 From: Ypnose Date: Thu, 1 May 2014 20:18:45 +0200 Subject: New service: upsd --- services/upsd/run | 6 ++++++ services/upsd/supervise | 1 + 2 files changed, 7 insertions(+) create mode 100755 services/upsd/run create mode 120000 services/upsd/supervise 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 -- cgit 1.4.1