(fix) also chown after restart

This commit is contained in:
Ludovic Marcotte
2019-08-08 13:30:46 -04:00
parent 59f035efe7
commit ee83e645db
2 changed files with 2 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ case "$1" in
install -o $USER -g adm -m 750 -d /var/spool/$NAME
install -o $USER -g adm -m 750 -d /var/log/$NAME
start-stop-daemon -c $USER --quiet --start --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
chown root:root $PIDFILE
log_end_msg 0
;;
status)

View File

@@ -87,6 +87,7 @@ case "$1" in
install -o $USER -g adm -m 750 -d /var/spool/$NAME
install -o $USER -g adm -m 750 -d /var/log/$NAME
start-stop-daemon -c $USER --quiet --start --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
chown root:root $PIDFILE
log_end_msg 0
;;
status)