mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00
Prune only when needed (#573)
* Prune only when needed * Prune only when needed
This commit is contained in:
@ -170,7 +170,6 @@ function restart() {
|
||||
dockerComposePull
|
||||
updateLetsEncrypt
|
||||
dockerComposeUp
|
||||
dockerPrune
|
||||
printEnvironment
|
||||
}
|
||||
|
||||
@ -200,6 +199,7 @@ then
|
||||
dockerComposeDown
|
||||
update withpull
|
||||
restart
|
||||
dockerPrune
|
||||
echo "Pausing 60 seconds for database to come online. Please wait..."
|
||||
sleep 60
|
||||
updateDatabase
|
||||
|
Reference in New Issue
Block a user