From c3b8eab3be5dc273b9c88368dfc69060d42bfbcd Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 16 Jan 2017 15:09:48 +0800 Subject: [PATCH] Fix #1083 --- debian/shadowsocks-libev.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/shadowsocks-libev.init b/debian/shadowsocks-libev.init index 5e2f5441..ad17aeed 100644 --- a/debian/shadowsocks-libev.init +++ b/debian/shadowsocks-libev.init @@ -72,7 +72,7 @@ do_stop() # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred - start-stop-daemon --stop --quiet --retry=KILL/5 --pidfile $PIDFILE --exec $DAEMON + start-stop-daemon --stop --quiet --retry=TERM/5 --pidfile $PIDFILE --exec $DAEMON RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Wait for children to finish too if this is a daemon that forks