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.
parent
6a6c212948
commit
d88929d0a9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue