:: Re: [Dng] Readiness notification
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Steve Litt
日付:  
To: dng
題目: Re: [Dng] Readiness notification
On Fri, 12 Jun 2015 22:21:06 +0200
marcxdv@??? wrote:


> The trick is for the daemon process to only background when
> it is ready to service requests (ie its parent process exits
> when the child is ready).


For those of us who use daemontools-inspired process managers or inits,
the preceding does not work. We need our daemons to be able to run in
the foreground.

Just because today Devuan uses sysvinit doesn't mean that will always
be true. One day, for all we know, Devuan will use runit or S6. And if
that day comes, we will rue the day when the decision was made to have
daemons be like dhclient and signal readiness by backgrounding at that
particular time.

SteveT

Steve Litt
June 2015 featured book: The Key to Everyday Excellence
http://www.troubleshooters.com/key