0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-15 22:42:51 +01:00

Adding ExecStop will avoid errors when doing a service bitwarden stop or restart in daemon.log.

Wei Ken 2020-12-30 00:56:49 +08:00
parent 6a6c212948
commit d88929d0a9

@ -24,6 +24,7 @@ ExecStart=/usr/bin/docker run \
--env-file /opt/.bitwarden.env \
-v /opt/bw-data:/data/ \
--rm --name bitwarden bitwardenrs/server:latest
ExecStop=-/usr/bin/docker stop bitwarden
ExecStopPost=-/usr/bin/docker rm bitwarden
Restart=Always
RestartSec=30s