[Pki-devel] [PATCH] patch to nuxwdog to add systemd support

Ade Lee alee at redhat.com
Wed May 6 20:19:56 UTC 2015


The attached patch adds systemd support.  When the STARTED_BY_SYSTEMD
environment variable is set, nuxwdog will call "systemd-ask-password" to
get the password from systemd.

To get this to work, we needed to temporarily disable the signal handler
used to handle SIGCHLD so as not to interfere with the handling of the
response from systemd-ask-password.  Also fixed an error condition.

Please review,
Ade
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nuxwdog-systemd.patch
Type: text/x-patch
Size: 5191 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20150506/1c5ea1c8/attachment.bin>


More information about the Pki-devel mailing list