From cf69accfb6867ac20797f005fed0b615a45d6c17 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 17 Sep 2007 02:24:21 -0700 Subject: [PATCH] startstop_node.py: use SIGINT instead of SIGTERM, to allow the node a chance to clean up --- 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 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 -- 2.45.2