From: Zooko O'Whielacronx Date: Sun, 23 Sep 2007 14:06:54 +0000 (-0700) Subject: startstop_node.py: use SIGINT instead of SIGTERM to stop the node (fixes #143) X-Git-Tag: allmydata-tahoe-0.6.0~13 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/URI:LIT:krugkidfnzsc4/index.php?a=commitdiff_plain;h=93efd2902ee4626b812a59bb1a84c9a2f3b00140;p=tahoe-lafs%2Ftahoe-lafs.git startstop_node.py: use SIGINT instead of SIGTERM to stop the node (fixes #143) --- diff --git a/src/allmydata/scripts/startstop_node.py b/src/allmydata/scripts/startstop_node.py index ec4fa724..83c43005 100644 --- a/src/allmydata/scripts/startstop_node.py +++ b/src/allmydata/scripts/startstop_node.py @@ -85,7 +85,7 @@ def do_stop(basedir, out=sys.stdout, err=sys.stderr): timer = 0 try: - os.kill(pid, signal.SIGINT) + os.kill(pid, signal.SIGTERM) except OSError, oserr: if oserr.errno == 3: print oserr.strerror