What is the best way to setup stunnel to respawn if it crashes? I have looked at inittab (probably would have to have stunnel run in foreground?) or the procautostart.cpp utility. Any other ideas? Is there an easier way.
Joe A. Kemp CapWIN Senior Systems Architect (O) 301-614-3727 (C) 301-502-1281
On Mon 08.09.2008 16:38, Joe Kemp wrote:
What is the best way to setup stunnel to respawn if it crashes? I have looked at inittab (probably would have to have stunnel run in foreground?) or the procautostart.cpp utility. Any other ideas? Is there an easier way.
Which version of stunnel do you use?
You can use some of the 'deamontools' out there
http://smarden.org/runit/runsv.8.html from http://smarden.org/runit/
or
http://offog.org/code/freedt.html
or
http://cr.yp.to/daemontools/supervise.html from http://cr.yp.to/daemontools.html
and
foreground = yes
Btw.: do you know why stunnel is crashing?
Hth
Aleks