bitwarden_rs-debian/debian/bitwarden_rs.service

19 lines
372 B
SYSTEMD
Raw Normal View History

2019-03-26 18:22:31 +01:00
[Unit]
Description=Bitwarden API server
After=network.target
[Service]
Type=simple
User=bitwarden
ExecStart=/usr/local/bin/bitwarden_rs
2019-09-09 21:27:44 +02:00
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
2019-03-26 18:22:31 +01:00
WorkingDirectory=/etc/bitwarden_rs
2019-09-09 21:27:44 +02:00
ReadWriteDirectories=/var/lib/bitwarden_rs
2019-03-26 18:22:31 +01:00
EnvironmentFile=/etc/bitwarden_rs/config.env
[Install]
WantedBy=multi-user.target