Hi,
this was adressed by upstream in [1]
and by adopted by Debian/Ubuntu in version 2.4.4-1
* Further changes to debian/openvpn@.service copied from upstream
- Enable Restart=on-failure
- Use KillMode=process
which in releases means Bionic and later is already fixed in regard to your request to consider restarting it automatically.
For Xenial IMHO the SRU [2] policy forbids this change as it could change behavior in an unexpected way without the users noticing. Fortunately users - like you - which conciously want this change to be active on xenial can just add the lines via `systemctl edit <service>`
Hi, openvpn@ .service copied from upstream
this was adressed by upstream in [1]
and by adopted by Debian/Ubuntu in version 2.4.4-1
* Further changes to debian/
- Enable Restart=on-failure
- Use KillMode=process
which in releases means Bionic and later is already fixed in regard to your request to consider restarting it automatically.
For Xenial IMHO the SRU [2] policy forbids this change as it could change behavior in an unexpected way without the users noticing. Fortunately users - like you - which conciously want this change to be active on xenial can just add the lines via `systemctl edit <service>`
RestartSec=5s on-failure
Restart=
[1]: https:/ /github. com/OpenVPN/ openvpn/ commit/ a4686e99b047081 f0ef6f794545018 3088464aa5 /wiki.ubuntu. com/StableRelea seUpdates
[2]: https:/