Browse Source

Fix #1083

pull/1085/head
Max Lv 8 years ago
parent
commit
c3b8eab3be
1 changed files with 1 additions and 1 deletions
  1. 2
      debian/shadowsocks-libev.init

2
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

Loading…
Cancel
Save