app-admin/serf: fix duplicate command_args in openrc init script
authorZac Medico <zmedico@gentoo.org>
Mon, 23 Jan 2017 16:54:29 +0000 (08:54 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 23 Jan 2017 16:56:26 +0000 (08:56 -0800)
Suggested-by: Manuel RĂ¼ger <mrueg@gentoo.org>
Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-admin/serf/files/serf.initd

index ce69aea1d6273860799d10d93bc7880f4d49bb93..bc3b9632af0eb353246e651293818e8b8ad08282 100644 (file)
@@ -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 \