Re: [Openvpn-users] automatically restart openvpn

2017-06-04 Thread David Sommerseth
On 04/06/17 10:26, Xen wrote: > David Sommerseth schreef op 31-05-2017 18:28: > >> As you use systemctl, that implies systemd. Then that hack is truly >> ugly compared to what systemd provides. > > You know David, > > I just tried to use a simple Path file for something and then a simple >

Re: [Openvpn-users] automatically restart openvpn

2017-05-31 Thread Xen
Samuli Seppänen schreef op 31-05-2017 19:10: Hi, A few months back I looked into exactly this issue. Back then there was no easy way to make systemd send emails. That is why I still use monit which has good notification capabilities: Hi, yes, that sounds

Re: [Openvpn-users] automatically restart openvpn

2017-05-31 Thread Samuli Seppänen
On 31/05/2017 19:50, Xen wrote: > David Sommerseth schreef op 31-05-2017 18:28: >> On 31/05/17 17:05, Xen wrote: >>> Riccardo Paolo Bestetti schreef op 31-05-2017 16:01: It's not OpenVPN you should configure, but your Operating System. You should refer to its documentation or its

Re: [Openvpn-users] automatically restart openvpn

2017-05-31 Thread Xen
David Sommerseth schreef op 31-05-2017 18:28: On 31/05/17 17:05, Xen wrote: Riccardo Paolo Bestetti schreef op 31-05-2017 16:01: It's not OpenVPN you should configure, but your Operating System. You should refer to its documentation or its relevant mailing list. You can also do: # crontab

Re: [Openvpn-users] automatically restart openvpn

2017-05-31 Thread David Sommerseth
On 31/05/17 17:05, Xen wrote: > Riccardo Paolo Bestetti schreef op 31-05-2017 16:01: >> It's not OpenVPN you should configure, but your Operating System. >> You should refer to its documentation or its relevant mailing list. > > You can also do: > > # crontab -l | { cat; echo "*/15 * * * *

Re: [Openvpn-users] automatically restart openvpn

2017-05-31 Thread Xen
Riccardo Paolo Bestetti schreef op 31-05-2017 16:01: It's not OpenVPN you should configure, but your Operating System. You should refer to its documentation or its relevant mailing list. You can also do: # crontab -l | { cat; echo "*/15 * * * * /bin/sh -c 'ifconfig | grep tun0 > /dev/null ||

Re: [Openvpn-users] automatically restart openvpn

2017-05-31 Thread Riccardo Paolo Bestetti
@lists.sourceforge.net Subject: [Openvpn-users] automatically restart openvpn hi how can i configure openvpn to restart after the service crashes ? iam running on raspbian -- Check out the vibrant tech community on one

Re: [Openvpn-users] automatically restart openvpn

2017-05-31 Thread Joe Patterson
If openvpn crashing is a regular problem, that's very interesting in its own right, and I'm sure we'd like to know more, and there's nothing much you can do *within* openvpn to respond when openvpn crashes. If openvpn is exiting normally and you don't want it to, my guess is that you could look

[Openvpn-users] automatically restart openvpn

2017-05-31 Thread Jannis Ohms
hi how can i configure openvpn to restart after the service crashes ? iam running on raspbian -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!