summaryrefslogtreecommitdiff
path: root/distro/systemd/openvpn-server@.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'distro/systemd/openvpn-server@.service.in')
-rw-r--r--distro/systemd/openvpn-server@.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/distro/systemd/openvpn-server@.service.in b/distro/systemd/openvpn-server@.service.in
index 9a8a2c7..a8366a0 100644
--- a/distro/systemd/openvpn-server@.service.in
+++ b/distro/systemd/openvpn-server@.service.in
@@ -17,6 +17,9 @@ DeviceAllow=/dev/null rw
DeviceAllow=/dev/net/tun rw
ProtectSystem=true
ProtectHome=true
+KillMode=process
+RestartSec=5s
+Restart=on-failure
[Install]
WantedBy=multi-user.target