blob: bb6c28f4a13c417abf4f27369511a9ef970d26c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/openrc-run
supervisor=supervise-daemon
name="Vault server"
description="Vault is a tool for securely accessing secrets"
VAULT_LOG_FILE="/var/log/${RC_SVCNAME}.log"
command=/usr/sbin/${RC_SVCNAME}
command_args="${vault_opts}"
command_user="${RC_SVCNAME}:${RC_SVCNAME}"
start_pre() {
checkpath -f -m 0644 -o "$command_user" "$VAULT_LOG_FILE"
}
depend() {
need net
after firewall
}
|