forked from DGNum/liminix
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
28a5dec7dd
commit
77f1a78331
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue