19 lines
386 B
Plaintext
19 lines
386 B
Plaintext
[Unit]
|
|
Description=Vaultwarden API server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=@@SERVICEUSER@@
|
|
ExecStart=/usr/bin/@@EXECUTABLENAME@@
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectHome=true
|
|
ProtectSystem=strict
|
|
WorkingDirectory=/etc/@@PACKAGEDIR@@
|
|
ReadWriteDirectories=/var/lib/@@PACKAGEDIR@@
|
|
EnvironmentFile=/etc/@@PACKAGEDIR@@/config.env
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|