From 3bcdeba639f732a956fa00841707f5026a5b3665 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 23 Jan 2017 09:00:26 -0800 Subject: app-admin/consul: fix duplicate command_args in openrc init script Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- app-admin/consul/files/consul.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app-admin/consul/files') diff --git a/app-admin/consul/files/consul.initd b/app-admin/consul/files/consul.initd index 1fb48d016aa1..751d68c3cc51 100644 --- a/app-admin/consul/files/consul.initd +++ b/app-admin/consul/files/consul.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 2015 Gentoo Foundation +# Copyright 2015-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -11,7 +11,7 @@ pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} user=${user:-${SVCNAME}} command="/usr/bin/${SVCNAME}" -command_args="agent -config-dir=/etc/consul.d ${command_args}" +command_args="agent ${command_args:-config-dir=/etc/consul.d}" command_background="true" start_stop_daemon_args="--user ${user} --group ${group} \ --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ -- cgit v1.2.3-65-gdbad