ifwait block if s6-rc lock is held

otherwise it doesn't trigger the service if something else is
slow to start
gateway-profile
Daniel Barlow 2024-03-16 23:09:41 +00:00
parent 74f4577521
commit 77421a5d3b
1 changed files with 2 additions and 2 deletions

View File

@ -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]