public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-vpn/peervpn/files/
@ 2017-09-03 21:58 Zac Medico
  0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2017-09-03 21:58 UTC (permalink / raw
  To: gentoo-commits

commit:     5dc610e489adc89a9191000ef6cd9c2ef89a3910
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 21:57:18 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 21:58:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc610e4

net-vpn/peervpn: use RC_SVCNAME in init script

Package-Manager: Portage-2.3.8, Repoman-2.3.2

 net-vpn/peervpn/files/peervpn.initd | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-vpn/peervpn/files/peervpn.initd b/net-vpn/peervpn/files/peervpn.initd
index 15390d4e866..77d98a9558b 100644
--- a/net-vpn/peervpn/files/peervpn.initd
+++ b/net-vpn/peervpn/files/peervpn.initd
@@ -3,12 +3,12 @@
 # Distributed under the terms of the GNU General Public License v2
 
 description="peervpn server"
-pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
-logfile=${logfile:-"/var/log/${SVCNAME}/${SVCNAME}.log"}
-user=${SVCNAME}
-group=${SVCNAME}
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+logfile=${logfile:-"/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"}
+user=${RC_SVCNAME}
+group=${RC_SVCNAME}
 
-command="/usr/sbin/${SVCNAME}"
+command="/usr/sbin/${RC_SVCNAME}"
 command_args="${command_args:-/etc/peervpn/peervpn.conf}"
 command_background="true"
 # peervpn will drop privileges based on user and group config file settings


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-03 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-03 21:58 [gentoo-commits] repo/gentoo:master commit in: net-vpn/peervpn/files/ Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox