summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-11-02 21:14:11 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-11-02 21:14:11 +0100
commitef69b94710679ed781dd860c03b260dc0ddff8ad (patch)
tree95b7a6aa6cad55da2aeb758ed0fd86deca4f720e /files
parent89683ac765f7498f1aa526268d41111a00513e3e (diff)
fix: s6-svscanctl returns before s6-svscan is really dead, which blocks the new instance from starting, so we wait
Diffstat (limited to 'files')
-rw-r--r--files/etc/init.d/s64
1 files changed, 4 insertions, 0 deletions
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)