Adding ExecStop will avoid errors when doing a service bitwarden stop or restart in daemon.log.
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
|
||||
|
|
Loading…
Reference in New Issue