SHA256
1
0
forked from pool/openvpn

- Clarify in the service file that the reload action doesn't work

when dropping root privileges (boo#1142830).

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=141
This commit is contained in:
Reinhard Max 2019-07-29 08:10:52 +00:00 committed by Git OBS Bridge
parent 47e69c0aeb
commit b9c4125b9d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 29 07:43:00 UTC 2019 - Reinhard Max <max@suse.com>
- Clarify in the service file that the reload action doesn't work
when dropping root privileges (boo#1142830).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 25 19:15:00 UTC 2019 - Michael Ströder <michael@stroeder.com> Tue Jun 25 19:15:00 UTC 2019 - Michael Ströder <michael@stroeder.com>

View File

@ -8,6 +8,7 @@ Type=notify
PrivateTmp=true PrivateTmp=true
PIDFile=/var/run/openvpn/%i.pid PIDFile=/var/run/openvpn/%i.pid
ExecStart=/usr/sbin/openvpn --daemon openvpn@%i --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf ExecStart=/usr/sbin/openvpn --daemon openvpn@%i --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
# boo#1142830: "reload" does not work if openvpn drops root privileges after startup.
ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn
[Install] [Install]