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



Reply via email to