summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/apcupsd/run
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-23 12:59:24 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-23 12:59:24 (GMT)
commit4702175bc8bf5f1af5c16d6ddd02140d017b8e02 (patch)
tree46ff7be00d803dcf0048e5faf3dfc76ff5718331 /abs/extra-testing/apcupsd/run
parent8def6e31ab03a963b14b30c4ed09dccc47ad09d1 (diff)
downloadlinhes_pkgbuild-4702175bc8bf5f1af5c16d6ddd02140d017b8e02.zip
linhes_pkgbuild-4702175bc8bf5f1af5c16d6ddd02140d017b8e02.tar.gz
linhes_pkgbuild-4702175bc8bf5f1af5c16d6ddd02140d017b8e02.tar.bz2
Updated apcupsd to include run for runit and gave it a stattime of 5 mins for RRD logging.
Diffstat (limited to 'abs/extra-testing/apcupsd/run')
-rw-r--r--abs/extra-testing/apcupsd/run3
1 files changed, 3 insertions, 0 deletions
diff --git a/abs/extra-testing/apcupsd/run b/abs/extra-testing/apcupsd/run
new file mode 100644
index 0000000..a9dfa3d
--- /dev/null
+++ b/abs/extra-testing/apcupsd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec /sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf >/dev/null 2>/dev/null