mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
startstop_node.py: use SIGINT instead of SIGTERM, to allow the node a chance to clean up
This commit is contained in:
parent
b7c18d6505
commit
cf69accfb6
@ -92,7 +92,7 @@ def do_stop(basedir, config, out=sys.stdout, err=sys.stderr):
|
||||
|
||||
timer = 0
|
||||
try:
|
||||
os.kill(pid, signal.SIGTERM)
|
||||
os.kill(pid, signal.SIGINT)
|
||||
except OSError, oserr:
|
||||
if oserr.errno == 3:
|
||||
print oserr.strerror
|
||||
|
Loading…
x
Reference in New Issue
Block a user