Hello,
A part of systemd's Embrace And Extend strategy is to entice
daemon authors to link against the systemd library (and thus make
every possible daemon systemd-dependent) by pretending it is the
only way for them to notify readiness.
As a step to obstruct that, I have written "sdnotify-wrapper". It's
a wrapper for daemons using the simple "write a newline" readiness
notification mechanism advertised by s6, which converts that
notification to the sd_notify format. So, it makes it possible for
daemons to *not* use the sd_notify() interface and still be properly
managed under systemd.
http://skarnet.org/software/sdnotify-wrapper.c
Enjoy,
Bug-reports welcome.
--
Laurent
Received on Sat Jun 13 2015 - 18:48:15 UTC