summaryrefslogtreecommitdiff
path: root/rhnop-client/debian/rhnop-client.standby.runit.log
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-05 00:40:49 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-05 00:40:49 (GMT)
commit688222650cdfb2d08c5a132c470c14e384a1ee3e (patch)
tree732dc3f9a616993fc11a7872161dcc72682bcb65 /rhnop-client/debian/rhnop-client.standby.runit.log
parent20d8bb7742942cd54d6ff143d0c65e957655d398 (diff)
added inital debian package
Diffstat (limited to 'rhnop-client/debian/rhnop-client.standby.runit.log')
-rw-r--r--rhnop-client/debian/rhnop-client.standby.runit.log9
1 files changed, 9 insertions, 0 deletions
diff --git a/rhnop-client/debian/rhnop-client.standby.runit.log b/rhnop-client/debian/rhnop-client.standby.runit.log
new file mode 100644
index 0000000..8223c28
--- /dev/null
+++ b/rhnop-client/debian/rhnop-client.standby.runit.log
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+LOG_D="/var/log/nopcollectd.standby/"
+if [ ! -d "$LOG_D" ]; then
+ mkdir -p -m0750 "$LOG_D"
+fi
+chown root:adm "$LOG_D"
+exec chpst -u root:adm svlogd -tt "$LOG_D"