On 20/05/2016 13:28, Max Ivanov wrote:
Hi All,

is it a bug or design decision that when requesting service to go up,
s6-svc can't wait for service to go down?

 Design decision. You can't wait for the service to go down at this
point because it is *already* down, so the "wait for it to be down" part
immediately succeeds. What you are trying to do is wait for the service
to go down _after it has gone up_.


For instance `s6-svc -o  -wD` exits without waiting for `finish`
script to execute.

 Try "s6-svc -o -wu service ; s6-svwait -D service". That should do what
you want.

--
 Laurent

Reply via email to