summaryrefslogtreecommitdiff
path: root/rhnop-server/debian/rhnop-server.runit.log
blob: a8766ea3e28e818fcaa0d9e8edf55cad3ced9006 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

LOG_D="/var/log/nopsyncd/"
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"