ifwait block if s6-rc lock is held
otherwise it doesn't trigger the service if something else is slow to start
This commit is contained in:
parent
74f4577521
commit
77421a5d3b
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user