commit:     5850956620363933f9be7e84876465ceff960383
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  5 17:56:25 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Jul  5 17:59:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58509566

app-admin/consul: fix missing hyphen for default -config-dir

Reported-by: Yung Wood <yung.wood <AT> sony.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-admin/consul/files/consul.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/consul/files/consul.initd 
b/app-admin/consul/files/consul.initd
index 00a65695fa2b..22004ec346ab 100644
--- a/app-admin/consul/files/consul.initd
+++ b/app-admin/consul/files/consul.initd
@@ -9,7 +9,7 @@ user=${user:-${RC_SVCNAME}}
 pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
 rc_ulimit=${rc_ulimit-"-n 65536"}
 command="/usr/bin/${RC_SVCNAME}"
-command_args="agent ${command_args:-config-dir=/etc/consul.d}"
+command_args="agent ${command_args:--config-dir=/etc/consul.d}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
        --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \

Reply via email to