Re: Re[2]: s6-log: Log rotation during shutdown

Aleksy Grabowski <[email protected]> Thu, 5 Mar 2026 22:07:52 +0100
Newsgroups gmane.comp.sysutils.supervision.general
Message-ID <CAETKQWLRKGRSk194KzbVfpjjiFGix2edozAygYZDst7L+mo2dw@mail.gmail.com>
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