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
Show replies by date