Re: Readiness notification exemplars

2020-04-04 Thread Serge E. Hallyn
On Sat, Apr 04, 2020 at 09:29:04PM +, Laurent Bercot wrote: > > > Yes it sounds like I completely misread the earlier emails, sorry about > > that. Now, looking at http://skarnet.org/software/s6/notifywhenup.html, > > I'm probably not reading that quite right, but it seems to tie the > >

Re: Readiness notification exemplars

2020-04-04 Thread Laurent Bercot
Yes it sounds like I completely misread the earlier emails, sorry about that. Now, looking at http://skarnet.org/software/s6/notifywhenup.html, I'm probably not reading that quite right, but it seems to tie the proposal to the 'notifcation-fd' file in the service directory, making it a bit

Re: Readiness notification exemplars

2020-04-04 Thread Serge E. Hallyn
On Fri, Apr 03, 2020 at 07:41:25AM +, Jonathan de Boyne Pollard wrote: > 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

Re: Readiness notification exemplars

2020-04-04 Thread Serge E. Hallyn
On Wed, Apr 01, 2020 at 05:13:06PM +, Laurent Bercot wrote: > > > There are pros and cons, but you are arguing for parsing stdout for a > > text message and/or using pidfiles (written to an fd). > > I'm arguing for none of these things. > I'm arguing for daemons to write a newline to a fd