[Dshield] CAUTION email about shell scripting...

Frank Knobbe frank at knobbe.us
Wed Oct 13 21:02:00 GMT 2004


On Wed, 2004-10-13 at 14:32, Esler, Joel - Contractor wrote:
> It runs every 5 minutes to check and see if the tunnel is up, if it is
> not up then reestablish...

This might be better accomplished using daemontools. With it you can
supervise a shell script that establishes the tunnel. If the tunnel
fails/terminates, the script ends and supervise will then restart it. At
the end of that script you can even have it send off an email letting
you know that the flap occurred.

daemontools is one the best "least mentioned" tools out there.

Cheers,
Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://www.dshield.org/pipermail/list/attachments/20041013/85a812d1/attachment.bin


More information about the list mailing list