summaryrefslogtreecommitdiff
path: root/rhnop-client/debian/rhnop-client.master.runit.log
blob: 850066a173728773943daeda8f1c2cc4462e0502 (plain)
1
2
3
4
5
6
7
8
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"