mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-23 03:19:39 +02:00
Updated Running with systemd docker (markdown)
1 parent
b86ce96784
commit
85cb1f6830
1 file changed
+1
-2
@@ -22,8 +22,7 @@ ExecStart=/usr/bin/docker run -d \
|
||||
--env-file /opt/.bitwarden.env \
|
||||
-v /opt/bw-data:/data/ \
|
||||
--restart=on-failure --name bitwarden bitwardenrs/server:latest
|
||||
ExecStop=-/usr/bin/docker container update --restart="no" bitwarden
|
||||
ExecStopPost=/usr/bin/docker container stop bitwarden
|
||||
ExecStop=/usr/bin/docker stop bitwarden
|
||||
ExecStopPost=-/usr/bin/docker rm bitwarden
|
||||
Restart=Always
|
||||
RestartSec=30s
|
||||
|
||||
Reference in new issue
Block a user