diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-04-30 20:15:06 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-04-30 20:58:34 +0200 |
commit | 1f8b4d1f8eaeb437a12b4cbd520199596bf80c55 (patch) | |
tree | 7e71300a25d16fa5fe284d948540bc6fcb47b306 /net-vpn | |
parent | net-vpn/openvpn: bump to v2.5.2 (diff) | |
download | gentoo-1f8b4d1f8eaeb437a12b4cbd520199596bf80c55.tar.gz gentoo-1f8b4d1f8eaeb437a12b4cbd520199596bf80c55.tar.bz2 gentoo-1f8b4d1f8eaeb437a12b4cbd520199596bf80c55.zip |
net-vpn/openvpn: runscript: use /run instead of /var/run
Closes: https://bugs.gentoo.org/685316
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/openvpn/files/openvpn-2.1.init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-vpn/openvpn/files/openvpn-2.1.init b/net-vpn/openvpn/files/openvpn-2.1.init index b42aa13d20de..ba05689a1e09 100644 --- a/net-vpn/openvpn/files/openvpn-2.1.init +++ b/net-vpn/openvpn/files/openvpn-2.1.init @@ -1,13 +1,13 @@ #!/sbin/openrc-run -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 VPNDIR=${VPNDIR:-/etc/openvpn} VPN=${SVCNAME#*.} if [ -n "${VPN}" ] && [ ${SVCNAME} != "openvpn" ]; then - VPNPID="/var/run/openvpn.${VPN}.pid" + VPNPID="/run/openvpn.${VPN}.pid" else - VPNPID="/var/run/openvpn.pid" + VPNPID="/run/openvpn.pid" fi VPNCONF="${VPNDIR}/${VPN}.conf" |