From: Brian Warner Date: Mon, 17 Sep 2007 09:24:21 +0000 (-0700) Subject: startstop_node.py: use SIGINT instead of SIGTERM, to allow the node a chance to clean up X-Git-Tag: allmydata-tahoe-0.6.0~81 X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/?a=commitdiff_plain;h=cf69accfb6867ac20797f005fed0b615a45d6c17;p=tahoe-lafs%2Ftahoe-lafs.git startstop_node.py: use SIGINT instead of SIGTERM, to allow the node a chance to clean up --- diff --git a/src/allmydata/scripts/startstop_node.py b/src/allmydata/scripts/startstop_node.py index d688cf29..51a59403 100644 --- a/src/allmydata/scripts/startstop_node.py +++ b/src/allmydata/scripts/startstop_node.py @@ -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