mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
(fix) also chown after restart
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user