From 93efd2902ee4626b812a59bb1a84c9a2f3b00140 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Sun, 23 Sep 2007 07:06:54 -0700 Subject: [PATCH] startstop_node.py: use SIGINT instead of SIGTERM to stop the node (fixes #143) --- src/allmydata/scripts/startstop_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2