Browse Source

refactor: bash variable name

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/9019/head
Pranav C 4 months ago
parent
commit
3097d5ef03
  1. 6
      docker-compose/setup-script/noco.sh

6
docker-compose/setup-script/noco.sh

@ -613,9 +613,9 @@ if [ "$SSL_ENABLED" = 'y' ] || [ "$SSL_ENABLED" = 'Y' ]; then
apk add docker-cli || { echo "Failed to install Docker CLI"; exit 1; }; apk add docker-cli || { echo "Failed to install Docker CLI"; exit 1; };
trap exit TERM; trap exit TERM;
while :; do while :; do
output=\$\$(certbot renew 2>&1); OUTPUT=\$\$(certbot renew 2>&1);
echo "\$\$output"; echo "\$\$OUTPUT";
if echo "\$\$output" | grep -q "No renewals were attempted"; then if echo "\$\$OUTPUT" | grep -q "No renewals were attempted"; then
echo "No certificates were renewed."; echo "No certificates were renewed.";
else else
echo "Certificates renewed. Reloading nginx..."; echo "Certificates renewed. Reloading nginx...";

Loading…
Cancel
Save