ensure a proper environment everytime we restart liquidsoap
This commit is contained in:
parent
2eaf81d366
commit
2fc4afef68
2 changed files with 3 additions and 4 deletions
|
@ -16,8 +16,8 @@ DAEMON=/usr/lib/airtime/pypo/bin/airtime-playout
|
|||
PIDFILE=/var/run/airtime-playout.pid
|
||||
|
||||
start () {
|
||||
chown pypo:pypo /etc/airtime
|
||||
chown pypo:pypo /etc/airtime/liquidsoap.cfg
|
||||
mkdir -p /var/log/airtime/pypo
|
||||
|
||||
start-stop-daemon --start --background --quiet --chuid $USERID:$USERID \
|
||||
--make-pidfile --pidfile $PIDFILE --startas $DAEMON
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue