Check if OpenVPN is running
-
Hello everyone,
is there a way to check if the OpenVPN service (Client) is running and if it's not, to start/restart it?
Maybe a little Cron script? -
The package "Service Watchdog" should do the job, but I haven't ever used.
-
Yeah, that definitely works with OpenVPN.
-
Thanks!
Trying it out now.
-
I use the watchdog package to monitor ntp, freeradius an openvpn. Even can be setup to send you alerts if has to restart something.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.