lucas.robb
Hello All,
I've got a bit of a quandry. I setup and configured my OpenVPN server on a ubuntu box and found that it worked alright, but would (for lack of a better word) crap itself after about 30 minutes. The problem I figured was the fact that I had an old install with a bunch of crap on it, so I've wiped the whole thing and am starting from scratch. I haven't had the chance to put it to the test, however, I have reason to believe that its still not 100% stable (either that or the problem is with my android phone). I'm thinking that if I could find a script of some sort that would test the OpenVPN service and if it appears to be hung then restart it. I'm certain it would simply be a matter of dropping it into the /etc/cron.hourly folder and away we'd go, but I don't know where I could find such a script or how to build such a script as I don't know what commands might possibly test to confirm its status (also I'm a N00b at script writing).
Thank you in advance,
Lucas