diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-01-23 09:00:26 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-01-23 09:00:26 -0800 |
commit | 3bcdeba639f732a956fa00841707f5026a5b3665 (patch) | |
tree | e2f22b3fd2bf3c7da8f9a5b063e5b20a973ea0b5 /app-admin | |
parent | app-admin/serf: fix duplicate command_args in openrc init script (diff) | |
download | gentoo-3bcdeba639f732a956fa00841707f5026a5b3665.tar.gz gentoo-3bcdeba639f732a956fa00841707f5026a5b3665.tar.bz2 gentoo-3bcdeba639f732a956fa00841707f5026a5b3665.zip |
app-admin/consul: fix duplicate command_args in openrc init script
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/consul/files/consul.initd | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ |