Kevin A. McGrail wrote:
In stunnel.init.in, I'm pretty sure the DAEMON line should be DAEMON=@prefix@/bin/stunnel and not DAEMON=@prefix@/etc/stunnel
Fixed. Thank you.
Also, when the parent process is killed with stop, I see Sep 17 14:34:16 server stunnel: warning: can't get client address: Bad file descriptor because the child processes seem to stick around.
I've modified the init script to kill the main process using the pid file and then using pidof to identify and kill the remaining child processes. Is this expected behavior?
What about: ftp://stunnel.mirt.net/stunnel/libwrap_shutdown.patch Does it help?
Best regards, Mike