From: Brian Warner Date: Tue, 5 Dec 2006 19:37:58 +0000 (-0700) Subject: fix 'allmydata restart' X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~449 X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/contact.html?a=commitdiff_plain;h=2bdff04689abc8dda238b623db557b4aa5237a10;p=tahoe-lafs%2Ftahoe-lafs.git fix 'allmydata restart' --- diff --git a/allmydata/scripts/runner.py b/allmydata/scripts/runner.py index 76310ed2..de2e5e13 100644 --- 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.SIGTERM) time.sleep(0.1) while timer < 5: # poll once per second until twistd.pid goes away, up to 5 seconds