mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
downloadRunFile when updateself (#638)
* downloadRunFile when updateself * Download-Run-File when $updateself * Add updateconf function * Add --updaterun option * Typo * Typo
This commit is contained in:
@@ -83,6 +83,7 @@ restart
|
||||
stop
|
||||
update
|
||||
updatedb
|
||||
updaterun
|
||||
updateself
|
||||
updateconf
|
||||
rebuild
|
||||
@@ -126,6 +127,10 @@ elif [ "$1" == "stop" ]
|
||||
then
|
||||
checkOutputDirExists
|
||||
$SCRIPTS_DIR/run.sh stop $OUTPUT $COREVERSION $WEBVERSION
|
||||
elif [ "$1" == "updaterun" ]
|
||||
then
|
||||
checkOutputDirExists
|
||||
downloadRunFile
|
||||
elif [ "$1" == "updateself" ]
|
||||
then
|
||||
downloadSelf && echo "Updated self." && exit
|
||||
|
||||
Reference in New Issue
Block a user