Just a historic note, I ultimately did it in `finish` script when exit
code = 0. It isn't the best place and it isn't what this file is for,
but it allows very natural blocking when I use `s6-rc stop`.

It is a little bit slow, because shutdown script must wait for a log
rotation to finish, but it just adds couple of seconds, so it isn't
crucial.

-- 
Anyway cheers,
Alex

Reply via email to