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