๐Ÿ“— 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.
 
 

19 lines
396 B

#!/sbin/openrc-run
name="$SVCNAME"
directory="{{ vault_dir }}"
command="{{ vault_dir }}/vaultwarden"
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
after postgresql mariadb
}