Skip to content

Commit

Permalink
add SIGINT in workers
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Dec 22, 2014
1 parent 536b7d1 commit be1d1d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shadowsocks/server.py
Expand Up @@ -118,6 +118,7 @@ def handler(signum, _):
sys.exit()
signal.signal(signal.SIGTERM, handler)
signal.signal(signal.SIGQUIT, handler)
signal.signal(signal.SIGINT, handler)

# master
for a_tcp_server in tcp_servers:
Expand Down

0 comments on commit be1d1d5

Please sign in to comment.