summaryrefslogtreecommitdiff
path: root/debian/openvpn@.service
diff options
context:
space:
mode:
authorLucas Kanashiro <lucas.kanashiro@canonical.com>2020-05-26 16:45:10 -0300
committerBernhard Schmidt <berni@debian.org>2020-09-01 01:17:53 +0200
commit69b02b1f7fd609d84ace13ab04697158de2418a9 (patch)
tree29fcc8654ee65d9dd89ade797bea2f3d9dfd9cfd /debian/openvpn@.service
parent68cf7e194033449b6c02fde1413875a597861c19 (diff)
Drop reload support from systemd unit files (LP: #1868127)
The current reload implementation (sending a SIGHUP signal to the process) fails, and the difference between reload and restart is not clear. Systemd does not require an implementation for reload.
Diffstat (limited to 'debian/openvpn@.service')
-rw-r--r--debian/openvpn@.service2
1 files changed, 0 insertions, 2 deletions
diff --git a/debian/openvpn@.service b/debian/openvpn@.service
index da7adc7..945874b 100644
--- a/debian/openvpn@.service
+++ b/debian/openvpn@.service
@@ -1,7 +1,6 @@
[Unit]
Description=OpenVPN connection to %i
PartOf=openvpn.service
-ReloadPropagatedFrom=openvpn.service
Before=systemd-user-sessions.service
After=network-online.target
Wants=network-online.target
@@ -16,7 +15,6 @@ WorkingDirectory=/etc/openvpn
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf --writepid /run/openvpn/%i.pid
PIDFile=/run/openvpn/%i.pid
KillMode=process
-ExecReload=/bin/kill -HUP $MAINPID
CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
LimitNPROC=100
DeviceAllow=/dev/null rw