summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/openvpn@.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/openvpn@.service b/debian/openvpn@.service
index 2cda6cd..992cc3b 100644
--- a/debian/openvpn@.service
+++ b/debian/openvpn@.service
@@ -22,6 +22,8 @@ DeviceAllow=/dev/null rw
DeviceAllow=/dev/net/tun rw
ProtectSystem=true
ProtectHome=true
+RestartSec=5s
+Restart=on-failure
[Install]
WantedBy=multi-user.target