Comment 3 for bug 249802

Revision history for this message
Tim Jones (tim-mr-dog) wrote :

Excellent idea, works perfectly :)

Although I'd add the '--local-port 0' option to ensure the respawned vpnc doesn't fail due to port already in use problems. I'm using the exec line:

exec /usr/sbin/vpnc --no-detach --pid-file /var/run/vpnc/pid --ifmode tun --non-inter --local-port 0 --dpd-idle 0 <vpn>