CC-1826 Restarting Pulseaudio kills liquidsoap player

Daemontools doesnt do an adequate job of killing the liquidsoap process.
Added a "killall" to make sure the process is really killed.
This commit is contained in:
Paul Baranowski 2011-01-28 18:29:53 -05:00
parent 38b01ea43f
commit c0144fb0be
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ try:
print "Stopping daemontool script pypo-liquidsoap"
os.system("svc -dx /etc/service/pypo-liquidsoap 2>/dev/null")
os.system("killall liquidsoap")
except Exception, e:
print "exception:" + str(e)