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

LOG_D="/var/log/nopcollectd.standby/"
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"