From 266823b1d9752b0cdc684dc2b4a2305afa5cf7e7 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Fri, 5 Apr 2013 12:42:05 -0400 Subject: [PATCH] use sigkill immediately for unresponsive telnet --- 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 2710489c1..496dd2e60 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 -k 5 10 /usr/lib/airtime/airtime_virtualenv/bin/python \ + timeout 10s -s 9 /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