homelab/roles/bitwarden/templates/bitwarden.service.j2
2022-05-26 21:51:41 -04:00

14 lines
277 B
Django/Jinja

[Unit]
Description=Bitwarden Password Manager Server
PartOf=docker.service
After=docker.service
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart={{ bitwarden_root }}/bitwarden.sh start
ExecStop={{ bitwarden_root }}/bitwarden.sh stop
[Install]
WantedBy=multi-user.target