Re: Readiness notification exemplars

From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups_at_NTLWorld.COM>
Date: Fri, 3 Apr 2020 07:41:25 +0000

Serge E. Hallyn:

> If making changes to daemons were going to palatable, [...]
>

Clearly, it *is* palatable, given that a few people have been adding the
systemd mechanism to their programs for several years, now.
Pierre-Yves Ritschard's code and Cameron Norman's code come straight out
of actual service programs.


Serge E. Hallyn:

> you are arguing for parsing stdout for a text message and/or using
> pidfiles (written to an fd)
>

No, M. Bercot is not. Quite the opposite, in fact. The s6 readiness
mechanism demands *neither* pidfiles *nor* standard output. It's *any*
file descriptor (as defined by the service), and *just a linefeed*
followed by closing the descriptor.

I'm nodding at almost everything M. Bercot is saying here, by the way.

* http://jdebp.uk./FGA/unix-daemon-readiness-protocol-problems.html
Received on Fri Apr 03 2020 - 07:41:25 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC