debmaker/ressources/vaultwarden/rootfs/etc/systemd/system/vaultwarden.service
2022-01-23 21:49:01 +01:00

32 lines
693 B
Desktop File

[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