From 95b69b403b24f81d55065d005f5b874181d88a2d Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 23 Jun 2011 14:06:02 -0400 Subject: [PATCH] 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. --- python_apps/pypo/airtime-playout-init-d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python_apps/pypo/airtime-playout-init-d b/python_apps/pypo/airtime-playout-init-d index b07a97d5d..dabc0dac5 100755 --- a/python_apps/pypo/airtime-playout-init-d +++ b/python_apps/pypo/airtime-playout-init-d @@ -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 () {