mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
my_init: runsvdir no longer redirects stderr to proctitle.
As described at http://smarden.org/runit/runsvdir.8.html passing a log option to runsvdir causes stderr to be redirected to the proctitle. That prevents stderr from reaching docker logs, which is a big problem.
This commit is contained in:
parent
ba1e1ffbf5
commit
3019bbf09b
@ -219,7 +219,7 @@ def run_startup_files():
|
|||||||
def start_runit():
|
def start_runit():
|
||||||
info("Booting runit daemon...")
|
info("Booting runit daemon...")
|
||||||
pid = os.spawnl(os.P_NOWAIT, "/usr/bin/runsvdir", "/usr/bin/runsvdir",
|
pid = os.spawnl(os.P_NOWAIT, "/usr/bin/runsvdir", "/usr/bin/runsvdir",
|
||||||
"-P", "/etc/service", "log: %s" % ('.' * 395))
|
"-P", "/etc/service")
|
||||||
info("Runit started as PID %d" % pid)
|
info("Runit started as PID %d" % pid)
|
||||||
return pid
|
return pid
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user