Merge pull request #388 from optimisticanshul/patch-1

down wait for 7 secs this will fix it.
This commit is contained in:
Travis Rowland authored and GitHub committed 2017-04-11 00:59:08 -07:00
commit 8af7692f62
1 file changed
+1 -1
+1 -1
View File
@@ -247,7 +247,7 @@ def wait_for_runit_or_interrupt(pid):
def shutdown_runit_services(quiet = False): def shutdown_runit_services(quiet = False):
if not quiet: if not quiet:
debug("Begin shutting down runit services...") debug("Begin shutting down runit services...")
os.system("/usr/bin/sv down /etc/service/*") os.system("/usr/bin/sv -w %d down /etc/service/*", KILL_PROCESS_TIMEOUT)
def wait_for_runit_services(): def wait_for_runit_services():
debug("Waiting for runit services to exit...") debug("Waiting for runit services to exit...")