diff options
Diffstat (limited to 'rhnop-client/debian/rhnop-client.master.runit.log')
-rw-r--r-- | rhnop-client/debian/rhnop-client.master.runit.log | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rhnop-client/debian/rhnop-client.master.runit.log b/rhnop-client/debian/rhnop-client.master.runit.log new file mode 100644 index 0000000..850066a --- /dev/null +++ b/rhnop-client/debian/rhnop-client.master.runit.log @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +LOG_D="/var/log/nopcollectd.master/" +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" |