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:
@ -142,7 +142,6 @@ function Restart {
|
||||
Docker-Compose-Pull
|
||||
Update-Lets-Encrypt
|
||||
Docker-Compose-Up
|
||||
Docker-Prune
|
||||
Print-Environment
|
||||
}
|
||||
|
||||
@ -177,6 +176,7 @@ elseif ($update) {
|
||||
Docker-Compose-Down
|
||||
Update -withpull
|
||||
Restart
|
||||
Docker-Prune
|
||||
Write-Line "Pausing 60 seconds for database to come online. Please wait..."
|
||||
Start-Sleep -s 60
|
||||
Update-Database
|
||||
|
Reference in New Issue
Block a user