From 6cd058e281f44aa3bb9819b41bff48c47b2eae98 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Thu, 1 May 2014 20:19:08 +0200 Subject: New service: upsmon --- services/upsmon/run | 6 ++++++ services/upsmon/supervise | 1 + 2 files changed, 7 insertions(+) create mode 100755 services/upsmon/run create mode 120000 services/upsmon/supervise (limited to 'services/upsmon') 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 -- cgit 1.4.1