commit 77f1a783310075bbc205b7f4ff875933687758ad parent 28a5dec7dd31834394748c9b19411715eeddc43c Author: Daniel Barlow <dan@telent.net> Date: Sat, 16 Mar 2024 23:09:41 +0000 ifwait block if s6-rc lock is held otherwise it doesn't trigger the service if something else is slow to start Diffstat:
| M | pkgs/ifwait/ifwait.fnl | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkgs/ifwait/ifwait.fnl b/pkgs/ifwait/ifwait.fnl @@ -37,8 +37,8 @@ (when (not (= up wanted?)) (set up (if wanted? - (pcall system (.. "s6-rc -u change " service)) - (not (pcall system (.. "s6-rc -d change " service))))) + (pcall system (.. "s6-rc -b -u change " service)) + (not (pcall system (.. "s6-rc -b -d change " service))))) )) (fn run [args event-fn]