mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 19:34:18 +00:00
fix 'allmydata restart'
This commit is contained in:
parent
09333a1b88
commit
2bdff04689
@ -161,7 +161,7 @@ def stop(config):
|
||||
pid = int(pid)
|
||||
|
||||
timer = 0
|
||||
os.kill(pid, signal.TERM)
|
||||
os.kill(pid, signal.SIGTERM)
|
||||
time.sleep(0.1)
|
||||
while timer < 5:
|
||||
# poll once per second until twistd.pid goes away, up to 5 seconds
|
||||
|
Loading…
x
Reference in New Issue
Block a user