forked from Docker/baseimage-docker
Merge pull request #1 from tgranqvist/tgranqvist-patch-1
Fixing bug in my_init.shutdown_runit_services
This commit is contained in:
@@ -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 -w %d down /etc/service/*", KILL_PROCESS_TIMEOUT)
|
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...")
|
||||||
|
|||||||
Reference in New Issue
Block a user