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:
parent
38b01ea43f
commit
c0144fb0be
|
@ -17,6 +17,7 @@ try:
|
||||||
|
|
||||||
print "Stopping daemontool script pypo-liquidsoap"
|
print "Stopping daemontool script pypo-liquidsoap"
|
||||||
os.system("svc -dx /etc/service/pypo-liquidsoap 2>/dev/null")
|
os.system("svc -dx /etc/service/pypo-liquidsoap 2>/dev/null")
|
||||||
|
os.system("killall liquidsoap")
|
||||||
|
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print "exception:" + str(e)
|
print "exception:" + str(e)
|
||||||
|
|
Loading…
Reference in New Issue