From: <gi...@co...> - 2019-04-07 23:10:12
|
This is in reply to the mail thread last written to on 2019-02-14. I also stumbled across this issue. OpenRC can track sshguard better if you use the --pidfile flag in start-stop-daemon, as such start-stop-daemon --start --wait ${SSHGUARD_WAIT} --background --quiet --pidfile ${SSHGUARD_PIDFILE} --exec \ /usr/sbin/sshguard -- -i ${SSHGUARD_PIDFILE} ${SSHGUARD_OPTS} However, referring to below excerpt from the sshguard shell-script (/usr/sbin/sshguard on Alpine Linux), when the service is stopped, sshg-blocker and the shell-script will be killed, but the $tailcmd and sshg-parser will continue, orphaned. eval $tailcmd | $libexec/sshg-parser | \ $libexec/sshg-blocker $flags | ($BACKEND; kill -PIPE $$) I don't know why that is. |