From 48ee36cd30b2cfc46e6ea50108cd3b65f4b93c36 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 23 Jan 2017 08:54:29 -0800 Subject: [PATCH] app-admin/serf: fix duplicate command_args in openrc init script MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Suggested-by: Manuel Rüger Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- app-admin/serf/files/serf.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/serf/files/serf.initd b/app-admin/serf/files/serf.initd index ce69aea1d627..bc3b9632af0e 100644 --- a/app-admin/serf/files/serf.initd +++ b/app-admin/serf/files/serf.initd @@ -10,7 +10,7 @@ pidfile=${pidfile:-"/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"} user=${user:-${RC_SVCNAME}} command="/usr/bin/${RC_SVCNAME}" -command_args="agent -config-dir=/etc/serf.d ${command_args}" +command_args="agent ${command_args:-config-dir=/etc/serf.d}" command_background="true" start_stop_daemon_args="--user ${user} --group ${group} \ --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ -- 2.26.2