diff options
author | Lucas Kanashiro <lucas.kanashiro@canonical.com> | 2020-05-26 16:45:10 -0300 |
---|---|---|
committer | Lucas Kanashiro <lucas.kanashiro@canonical.com> | 2020-05-26 18:53:11 -0300 |
commit | 95596798b96b4fb78c4e17ca3880cecb6bd84078 (patch) | |
tree | 1384c1a3eaae80b4235e99989fab75aa7940081e /debian/openvpn@.service | |
parent | e385682719c2c6215022bcfa9ae0ddc6a593db5d (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@.service | 2 |
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 |