Re: s6-log not responding to signals

2023-05-30 Thread Laurent Bercot

And the timeout is only going to start during exit, right?


 Naturally. :)

--
 Laurent



Re: s6-log not responding to signals

2023-05-30 Thread esben
"Laurent Bercot"  writes:

>>While that would make s6-log nicer to integrate with s6-rc, I still
>>think that the current behavior of potentially blocking SIGTERM forever
>>is undesirable, so some kind of timeout in s6-log could still be a good
>>idea.
>
>  That's why I was suggesting a timeout. And since logging a partial line
> as a complete line is always strictly better than dropping the partial
> line, once you have the timeout feature, you don't need anything else:
> set the timeout to 1 ms if you want to exit immediately even with
> partial lines.

And the timeout is only going to start during exit, right?

/Esben