From 3019bbf09b1be13a396c0d7bfda9428be864fd1b Mon Sep 17 00:00:00 2001 From: Paul Annesley Date: Wed, 18 Jun 2014 09:38:52 -0700 Subject: [PATCH] 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. --- image/my_init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/my_init b/image/my_init index 1730715..50aa9e1 100755 --- a/image/my_init +++ b/image/my_init @@ -219,7 +219,7 @@ def run_startup_files(): def start_runit(): info("Booting runit daemon...") 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) return pid