From ef69b94710679ed781dd860c03b260dc0ddff8ad Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Thu, 2 Nov 2023 21:14:11 +0100 Subject: fix: s6-svscanctl returns before s6-svscan is really dead, which blocks the new instance from starting, so we wait --- files/etc/init.d/s6 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'files') diff --git a/files/etc/init.d/s6 b/files/etc/init.d/s6 index f99e11d..0694a4c 100644 --- a/files/etc/init.d/s6 +++ b/files/etc/init.d/s6 @@ -61,6 +61,10 @@ case "$1" in --retry TERM/60 \ --exec /usr/bin/s6-supervise fi + while $0 status + do + sleep 0.1 + done log_end_msg $? ;; force-reload|restart) -- cgit v1.2.3