mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
rebuild command added
This commit is contained in:
@ -4,6 +4,7 @@ param (
|
||||
[switch] $restart,
|
||||
[switch] $stop,
|
||||
[switch] $update,
|
||||
[switch] $rebuild,
|
||||
[switch] $updatedb,
|
||||
[switch] $updateself,
|
||||
[string] $output = ""
|
||||
@ -87,6 +88,10 @@ elseif ($update) {
|
||||
Download-Run-File
|
||||
Invoke-Expression "$scriptsDir\run.ps1 -update -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
|
||||
}
|
||||
elseif ($rebuild) {
|
||||
Check-Output-Dir-Exists
|
||||
Invoke-Expression "$scriptsDir\run.ps1 -rebuild -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
|
||||
}
|
||||
elseif ($updatedb) {
|
||||
Check-Output-Dir-Exists
|
||||
Invoke-Expression "$scriptsDir\run.ps1 -updatedb -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
|
||||
|
Reference in New Issue
Block a user