Eric Wong wrote:
I've reordered the initalization methods in the below patch which fixes both daemonization and pid files being broken with chroots.
I think I found the solution: ftp://stunnel.mirt.net/stunnel/startup.patch
Also log file is now created within chrooted directory to allow log file rotation on SIGHUP, and also changing log file name without stopping stunnel.
Mike