You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
419 B
19 lines
419 B
#!/sbin/openrc-run
|
|
|
|
name="$SVCNAME"
|
|
directory="{{ vault_dir }}"
|
|
command="{{ (vault_dir, 'vaultwarden') | path_join }}"
|
|
command_user="{{ vault_user ~ ':' ~ vault_group }}"
|
|
pidfile="/var/run/$SVCNAME.pid"
|
|
{% if vault_supervised | d(false) == true -%}
|
|
supervisor="supervise-daemon"
|
|
{% else -%}
|
|
command_background=true
|
|
{%- endif %}
|
|
|
|
depend() {
|
|
need net
|
|
use dns
|
|
before nginx caddy
|
|
after postgresql mariadb
|
|
}
|
|
|