From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACF26138239 for ; Fri, 30 Apr 2021 18:59:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10EF7E0849; Fri, 30 Apr 2021 18:59:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC2B2E0849 for ; Fri, 30 Apr 2021 18:59:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0655233BDEF for ; Fri, 30 Apr 2021 18:59:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98626673 for ; Fri, 30 Apr 2021 18:59:01 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1619809114.1f8b4d1f8eaeb437a12b4cbd520199596bf80c55.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/openvpn/files/openvpn-2.1.init X-VCS-Directories: net-vpn/openvpn/files/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 1f8b4d1f8eaeb437a12b4cbd520199596bf80c55 X-VCS-Branch: master Date: Fri, 30 Apr 2021 18:59:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1c52c01b-e8a1-4758-acf5-1f3a090bc416 X-Archives-Hash: 4a8189112872abe5bb9bdcf18aed554e commit: 1f8b4d1f8eaeb437a12b4cbd520199596bf80c55 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Apr 30 18:15:06 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Apr 30 18:58:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f8b4d1f 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 gentoo.org> net-vpn/openvpn/files/openvpn-2.1.init | 6 +++--- 1 file 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 b42aa13d20d..ba05689a1e0 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"