projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7c18d6
)
startstop_node.py: use SIGINT instead of SIGTERM, to allow the node a chance to clean up
author
Brian Warner
<warner@lothar.com>
Mon, 17 Sep 2007 09:24:21 +0000
(
02:24
-0700)
committer
Brian Warner
<warner@lothar.com>
Mon, 17 Sep 2007 09:24:21 +0000
(
02:24
-0700)
src/allmydata/scripts/startstop_node.py
patch
|
blob
|
history
diff --git
a/src/allmydata/scripts/startstop_node.py
b/src/allmydata/scripts/startstop_node.py
index d688cf295648ac5396f6082c13d4bc58e5fe3683..51a59403581da8aba07bcd8674cf831217bc359c 100644
(file)
--- 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.SIG
TERM
)
+ os.kill(pid, signal.SIG
INT
)
except OSError, oserr:
if oserr.errno == 3:
print oserr.strerror