CC-2429: Liquidsoap should be run with higher priority

-On a range of -20 to 20, where -20 gives the highest
 priority, set Liquidsoap nice to -15.
This commit is contained in:
martin 2011-06-23 14:06:02 -04:00
parent d8ff6ae867
commit 95b69b403b
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ start () {
start-stop-daemon --start --background --quiet --chuid $USERID:$GROUPID --make-pidfile --pidfile $PIDFILE0 --startas $DAEMON0
monit monitor airtime-liquidsoap >/dev/null 2>&1
start-stop-daemon --start --background --quiet --chuid $USERID:$GROUPID --make-pidfile --pidfile $PIDFILE1 --startas $DAEMON1
start-stop-daemon --start --background --quiet --chuid $USERID:$GROUPID \
--nicelevel -15 --make-pidfile --pidfile $PIDFILE1 --startas $DAEMON1
}
stop () {