diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-09-03 14:57:18 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-09-03 14:58:22 -0700 |
commit | 5dc610e489adc89a9191000ef6cd9c2ef89a3910 (patch) | |
tree | c4c37903edc5718b28385a319d841aca0bfa1f36 /net-vpn | |
parent | sys-cluster/swift: 2.15.1-r1 stable amd64 and x86 (diff) | |
download | gentoo-5dc610e489adc89a9191000ef6cd9c2ef89a3910.tar.gz gentoo-5dc610e489adc89a9191000ef6cd9c2ef89a3910.tar.bz2 gentoo-5dc610e489adc89a9191000ef6cd9c2ef89a3910.zip |
net-vpn/peervpn: use RC_SVCNAME in init script
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/peervpn/files/peervpn.initd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-vpn/peervpn/files/peervpn.initd b/net-vpn/peervpn/files/peervpn.initd index 15390d4e8666..77d98a9558b0 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 |