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:
e4aa204
)
startstop_node.py: use SIGINT instead of SIGTERM to stop the node (fixes #143)
author
Zooko O'Whielacronx
<zooko@zooko.com>
Sun, 23 Sep 2007 14:06:54 +0000
(07:06 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Sun, 23 Sep 2007 14:06:54 +0000
(07:06 -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 ec4fa724420d17252a4543a6d0928ed3364f40ae..83c43005cb90d95770ef0b41ed75832a112010cf 100644
(file)
--- 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.SIG
INT
)
+ os.kill(pid, signal.SIG
TERM
)
except OSError, oserr:
if oserr.errno == 3:
print oserr.strerror