startstop_node.py: use SIGINT instead of SIGTERM, to allow the node a chance to clean up

This commit is contained in:
Brian Warner 2007-09-17 02:24:21 -07:00
parent b7c18d6505
commit cf69accfb6

View File

@ -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