summaryrefslogtreecommitdiff
path: root/rhnop-client/debian/rhnop-client.state.runit.log
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-05 13:44:40 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-05 13:44:40 (GMT)
commit5c642ab1c39fde2b6515ab0653fd084a439077a0 (patch)
treedfdf6146260fb39722cbcc1b4db97bc1526118c5 /rhnop-client/debian/rhnop-client.state.runit.log
parent99c07fae615a1f44a2eb24eb973700931017b248 (diff)
added nopsyncstated to debian package
Diffstat (limited to 'rhnop-client/debian/rhnop-client.state.runit.log')
-rw-r--r--rhnop-client/debian/rhnop-client.state.runit.log9
1 files changed, 9 insertions, 0 deletions
diff --git a/rhnop-client/debian/rhnop-client.state.runit.log b/rhnop-client/debian/rhnop-client.state.runit.log
new file mode 100644
index 0000000..7a67bb3
--- /dev/null
+++ b/rhnop-client/debian/rhnop-client.state.runit.log
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+LOG_D="/var/log/nopsysstated/"
+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"