CC-4313Make sure any service can re-create its log file if the file is removed
-fixed
This commit is contained in:
parent
4848717d4d
commit
ec4343deb0
2 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,9 @@ DAEMON=/usr/lib/airtime/pypo/bin/airtime-liquidsoap
|
|||
PIDFILE=/var/run/airtime-liquidsoap.pid
|
||||
|
||||
start () {
|
||||
chown pypo:pypo /var/log/airtime/pypo
|
||||
chown pypo:pypo /var/log/airtime/pypo-liquidsoap
|
||||
|
||||
start-stop-daemon --start --background --quiet --chuid $USERID:$GROUPID \
|
||||
--nicelevel -15 --make-pidfile --pidfile $PIDFILE --startas $DAEMON
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue