summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Hopp <georg@steffers.org>2016-06-05 23:09:35 -0700
committerZac Medico <zmedico@gentoo.org>2016-06-05 23:37:38 -0700
commitfe2e87cdd9ba78e5ef089edb0f713f80091aa81f (patch)
tree7a442e4577259d41a1d6b882cc3c2a64b7ce1721 /app-admin/vault/files
parentapp-admin/vault: replace inherited capabilities with inherited, bug 584644 (diff)
downloadgentoo-fe2e87cdd9ba78e5ef089edb0f713f80091aa81f.tar.gz
gentoo-fe2e87cdd9ba78e5ef089edb0f713f80091aa81f.tar.bz2
gentoo-fe2e87cdd9ba78e5ef089edb0f713f80091aa81f.zip
app-admin/vault: fix init script command_args, bug 584644
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'app-admin/vault/files')
-rw-r--r--app-admin/vault/files/vault.confd2
-rw-r--r--app-admin/vault/files/vault.initd2
2 files changed, 2 insertions, 2 deletions
diff --git a/app-admin/vault/files/vault.confd b/app-admin/vault/files/vault.confd
index 606095864e71..6263ff00f911 100644
--- a/app-admin/vault/files/vault.confd
+++ b/app-admin/vault/files/vault.confd
@@ -4,4 +4,4 @@
# - user (default: vault)
# extra arguments for the consul agent
-command_args="-config=/etc/consul.d"
+command_args="-config=/etc/vault.d"
diff --git a/app-admin/vault/files/vault.initd b/app-admin/vault/files/vault.initd
index 8d3e2cc3ecd4..0d473fc26bb9 100644
--- a/app-admin/vault/files/vault.initd
+++ b/app-admin/vault/files/vault.initd
@@ -9,7 +9,7 @@ pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
user=${user:-${SVCNAME}}
command="/usr/bin/${SVCNAME}"
-command_args="agent -config-dir=/etc/vault.d ${command_args}"
+command_args="server ${command_args}"
command_background="true"
start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/${SVCNAME}/${SVCNAME}.log \