aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vault/vault.initd
diff options
context:
space:
mode:
authorGennady Feldman <gena01@gmail.com>2016-12-08 22:54:24 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-12-15 17:24:01 +0100
commit1021d173063aea1bf8cc245e0542738869594c59 (patch)
treebc3e24c2dad2cdea028106b695d537409beeb8d5 /testing/vault/vault.initd
parentcab940a0509aafae5adbeb92a29d27b93b0fa77f (diff)
downloadaports-1021d173063aea1bf8cc245e0542738869594c59.tar.bz2
aports-1021d173063aea1bf8cc245e0542738869594c59.tar.xz
testing/vault: upgrade to 0.6.3 and fix runscript
I had issues with service start in my testing. It would assume that the service started and then report that it crashed (instead of start failed). In my setup I setup "consul" service as backend. So if "consul" is not running vault should fail to start.
Diffstat (limited to 'testing/vault/vault.initd')
-rw-r--r--testing/vault/vault.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/vault/vault.initd b/testing/vault/vault.initd
index b334546df9..2ed3152b34 100644
--- a/testing/vault/vault.initd
+++ b/testing/vault/vault.initd
@@ -2,10 +2,11 @@
VAULT_LOG_FILE="/var/log/${SVCNAME}.log"
+description="Vault is a tool for securely accessing secrets"
command=/usr/sbin/${SVCNAME}
command_args="${vault_opts}"
command_background="true"
-start_stop_daemon_args="--user ${SVCNAME}:${SVCNAME} --stdout $VAULT_LOG_FILE --stderr $VAULT_LOG_FILE"
+start_stop_daemon_args="-w 100 --user ${SVCNAME}:${SVCNAME} --stdout $VAULT_LOG_FILE --stderr $VAULT_LOG_FILE"
pidfile="/run/${SVCNAME}.pid"
start_pre() {