From 5ff7ce857f80111e8105cd9e883458a2bf8e22c1 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Fri, 5 Apr 2013 15:57:16 -0400 Subject: [PATCH] use sigkill immediately for unresponsive telnet -fix order of arguments --- python_apps/pypo/airtime-liquidsoap-init-d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/pypo/airtime-liquidsoap-init-d b/python_apps/pypo/airtime-liquidsoap-init-d index 496dd2e60..26d8e3d2b 100755 --- a/python_apps/pypo/airtime-liquidsoap-init-d +++ b/python_apps/pypo/airtime-liquidsoap-init-d @@ -30,7 +30,7 @@ start () { stop () { #send term signal after 10 seconds - timeout 10s -s 9 /usr/lib/airtime/airtime_virtualenv/bin/python \ + timeout -s9 10s /usr/lib/airtime/airtime_virtualenv/bin/python \ /usr/lib/airtime/pypo/bin/liquidsoap_scripts/liquidsoap_prepare_terminate.py # Send TERM after 5 seconds, wait at most 30 seconds. start-stop-daemon --stop --oknodo --retry=TERM/10/KILL/5 --quiet --pidfile $PIDFILE