I have a cisco vpn client on a Cent OS 4.4 and want to make sure it comes back up automatically in case the connection goes down on the other side of the VPN tunnel.
I tried to add a cron job like:
* * * * * vpnclient connect MyConnection
This didn't work.
I see a couple of processes related to the vpn client:
root 13299 0.0 0.0 2672 1136 pts/4 S+ 23:34 0:00 vpnclient
root 13300 0.0 0.0 3744 916 ? Ss 23:34 0:00 cvpnd
nobody 13301 0.0 0.0 4008 1708 ? S 23:34 0:00 cvpnd
How can I turn the vpnclient into a daemon? I think this might be the solution but I'm not sure.