debmaker/ressources/sqlpage/rootfs/usr/lib/systemd/system/vaultwarden.service

33 lines
693 B
SYSTEMD
Raw Permalink Normal View History

2023-11-21 01:24:31 +01:00
[Unit]
Description=vaultwarden Server (Rust Edition)
Documentation=https://github.com/dani-garcia/vaultwarden
After=network.target
# MariaDB
# After=network.target mariadb.service
# Requires=mariadb.service
# Mysql
# After=network.target mysqld.service
# Requires=mysqld.service
# PostgreSQL
# After=network.target postgresql.service
# Requires=postgresql.service
[Service]
User=vaultwarden
Group=vaultwarden
EnvironmentFile=/etc/default/vaultwarden
ExecStart=/usr/lib/vaultwarden/vaultwarden
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
WorkingDirectory=/var/lib//vaultwarden/
ReadWriteDirectories=/var/lib/vaultwarden/
[Install]
WantedBy=multi-user.target