]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
startstop_node.py: use SIGINT instead of SIGTERM to stop the node (fixes #143)
authorZooko O'Whielacronx <zooko@zooko.com>
Sun, 23 Sep 2007 14:06:54 +0000 (07:06 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sun, 23 Sep 2007 14:06:54 +0000 (07:06 -0700)
src/allmydata/scripts/startstop_node.py

index ec4fa724420d17252a4543a6d0928ed3364f40ae..83c43005cb90d95770ef0b41ed75832a112010cf 100644 (file)
@@ -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