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:
09333a1
)
fix 'allmydata restart'
author
Brian Warner
<warner@lothar.com>
Tue, 5 Dec 2006 19:37:58 +0000
(12:37 -0700)
committer
Brian Warner
<warner@lothar.com>
Tue, 5 Dec 2006 19:37:58 +0000
(12:37 -0700)
allmydata/scripts/runner.py
patch
|
blob
|
history
diff --git
a/allmydata/scripts/runner.py
b/allmydata/scripts/runner.py
index 76310ed29a3900a843c027a1f6e361320d6b05db..de2e5e1358a0786c9c7e3e631aeabf0202298a5e 100644
(file)
--- a/
allmydata/scripts/runner.py
+++ b/
allmydata/scripts/runner.py
@@
-161,7
+161,7
@@
def stop(config):
pid = int(pid)
timer = 0
- os.kill(pid, signal.TERM)
+ os.kill(pid, signal.
SIG
TERM)
time.sleep(0.1)
while timer < 5:
# poll once per second until twistd.pid goes away, up to 5 seconds