From c0144fb0bef88993c8b2f65da30093f3dea3ab57 Mon Sep 17 00:00:00 2001 From: Paul Baranowski Date: Fri, 28 Jan 2011 18:29:53 -0500 Subject: [PATCH] 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. --- pypo/install/pypo-stop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pypo/install/pypo-stop.py b/pypo/install/pypo-stop.py index 0f3ce5db5..a27032313 100644 --- a/pypo/install/pypo-stop.py +++ b/pypo/install/pypo-stop.py @@ -11,12 +11,13 @@ if os.geteuid() != 0: try: print "Stopping daemontool script pypo-fetch" os.system("svc -dx /etc/service/pypo-fetch 2>/dev/null") - + print "Stopping daemontool script pypo-push" os.system("svc -dx /etc/service/pypo-push 2>/dev/null") 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)