summaryrefslogtreecommitdiff
path: root/debian/openvpn@.service
diff options
context:
space:
mode:
authorBernhard Schmidt <berni@debian.org>2017-10-09 21:25:52 +0200
committerBernhard Schmidt <berni@debian.org>2017-10-09 21:25:52 +0200
commit8b66a35385f4350db57d6a9d4f40ad732267e6b9 (patch)
treeba072bb0c2a146bfd119229716f0460f2519a142 /debian/openvpn@.service
parentabb6ab3918792141a92a8e5b91074b66153b2eb3 (diff)
openvpn@.service: Copy Restart=on-failure from upstream systemd unit
Diffstat (limited to 'debian/openvpn@.service')
-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