diff --git a/server-ls.sh b/server-ls.sh index 006a5cc..127ed52 100755 --- a/server-ls.sh +++ b/server-ls.sh @@ -142,7 +142,6 @@ cat $XCONF |jq --arg port "${port}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-lsg.sh b/server-lsg.sh index 9b3ba5a..c0e1423 100755 --- a/server-lsg.sh +++ b/server-lsg.sh @@ -103,7 +103,6 @@ cat $XCONF |jq --arg port "${port}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-lss.sh b/server-lss.sh index 570f61b..e53ba2f 100755 --- a/server-lss.sh +++ b/server-lss.sh @@ -155,7 +155,6 @@ cat $XCONF |jq --arg port "${port}" --arg webpath "${webpath}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-lsw.sh b/server-lsw.sh index 8d78a51..cdafa57 100755 --- a/server-lsw.sh +++ b/server-lsw.sh @@ -155,7 +155,6 @@ cat $XCONF |jq --arg port "${port}" --arg wspath "${wspath}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-lx.sh b/server-lx.sh index 9713cfe..28c90cc 100755 --- a/server-lx.sh +++ b/server-lx.sh @@ -142,7 +142,6 @@ cat $XCONF |jq --arg port "${port}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-ms.sh b/server-ms.sh index 7811bbb..cd5a96c 100755 --- a/server-ms.sh +++ b/server-ms.sh @@ -142,7 +142,6 @@ cat $XCONF |jq --arg port "${port}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-msw.sh b/server-msw.sh index e9eeccf..e479340 100755 --- a/server-msw.sh +++ b/server-msw.sh @@ -155,7 +155,6 @@ cat $XCONF |jq --arg port "${port}" --arg wspath "${wspath}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-ts.sh b/server-ts.sh index 501dbe4..47ae46b 100755 --- a/server-ts.sh +++ b/server-ts.sh @@ -142,7 +142,6 @@ cat $XCONF |jq --arg port "${port}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then diff --git a/server-tsw.sh b/server-tsw.sh index 90ed540..ca5d4f5 100755 --- a/server-tsw.sh +++ b/server-tsw.sh @@ -155,7 +155,6 @@ cat $XCONF |jq --arg port "${port}" --arg wspath "${wspath}" \ if [ -f "${certhome}/${domain}/fullchain.cer" ] && [ -f "${certhome}/${domain}/${domain}.key" ]; then fullchain="${certhome}/${domain}/fullchain.cer" prvkey="${certhome}/${domain}/${domain}.key" - break fi if [ ! -f "${fullchain}" ] || [ ! -f "${prvkey}" ]; then