On Tue, Dec 17, 2013 at 06:51:19PM -0800, Nikolaus Rath wrote: > A nice thing about the SIGSTOP mechanism is that it can trivially be > used even in programs not written in C. Any Perl or Python script (and > there are plenty of daemons written in these languages) can send itself > SIGSTOP. Using sd_notify requires to re-implement the protocol or to add > C adaptor code just for this... The adaptor is there for some languages [1]. I have only used Python, where it is trivially easy from systemd import daemon daemon.notify('READY=1')
Zbyszek [1] http://www.freedesktop.org/wiki/Software/systemd/#relatedpackages -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org