๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
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.

20 lines
419 B

2 years ago
#!/sbin/openrc-run
name="$SVCNAME"
directory="{{ vault_dir }}"
command="{{ (vault_dir, 'vaultwarden') | path_join }}"
2 years ago
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
2 years ago
after postgresql mariadb
}