mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 06:28:14 -05:00
fix formatting
This commit is contained in:
parent
5977803e3b
commit
b105dad56e
@ -182,7 +182,7 @@ function Restart {
|
|||||||
Print-Environment
|
Print-Environment
|
||||||
}
|
}
|
||||||
|
|
||||||
function certRestart {
|
function Cert-Restart {
|
||||||
Docker-Compose-Down
|
Docker-Compose-Down
|
||||||
Docker-Compose-Pull
|
Docker-Compose-Pull
|
||||||
Force-Update-Lets-Encrypt
|
Force-Update-Lets-Encrypt
|
||||||
@ -216,7 +216,7 @@ elseif ($stop) {
|
|||||||
Docker-Compose-Down
|
Docker-Compose-Down
|
||||||
}
|
}
|
||||||
elseif ($renewcert) {
|
elseif ($renewcert) {
|
||||||
certRestart
|
Cert-Restart
|
||||||
}
|
}
|
||||||
elseif ($updateconf) {
|
elseif ($updateconf) {
|
||||||
Docker-Compose-Down
|
Docker-Compose-Down
|
||||||
|
@ -148,7 +148,7 @@ function updateLetsEncrypt() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function forceupdateLetsEncrypt() {
|
function forceUpdateLetsEncrypt() {
|
||||||
if [ -d "${OUTPUT_DIR}/letsencrypt/live" ]
|
if [ -d "${OUTPUT_DIR}/letsencrypt/live" ]
|
||||||
then
|
then
|
||||||
docker pull certbot/certbot
|
docker pull certbot/certbot
|
||||||
@ -193,10 +193,10 @@ function restart() {
|
|||||||
printEnvironment
|
printEnvironment
|
||||||
}
|
}
|
||||||
|
|
||||||
function certrestart() {
|
function certRestart() {
|
||||||
dockerComposeDown
|
dockerComposeDown
|
||||||
dockerComposePull
|
dockerComposePull
|
||||||
forceupdateLetsEncrypt
|
forceUpdateLetsEncrypt
|
||||||
dockerComposeUp
|
dockerComposeUp
|
||||||
printEnvironment
|
printEnvironment
|
||||||
}
|
}
|
||||||
@ -221,7 +221,7 @@ then
|
|||||||
dockerComposeDown
|
dockerComposeDown
|
||||||
elif [ "$1" == "renewcert" ]
|
elif [ "$1" == "renewcert" ]
|
||||||
then
|
then
|
||||||
certrestart
|
certRestart
|
||||||
elif [ "$1" == "updateconf" ]
|
elif [ "$1" == "updateconf" ]
|
||||||
then
|
then
|
||||||
dockerComposeDown
|
dockerComposeDown
|
||||||
|
Loading…
x
Reference in New Issue
Block a user