Skip to content

Commit

Permalink
tl-its-umich-edu#1406 - spelling correction & clean-up
Browse files Browse the repository at this point in the history
Cleaned up trailing spaces on a few lines.
  • Loading branch information
lsloan committed Sep 7, 2022
1 parent cb389fb commit 4f2126a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#!/bin/bash

# Case insenstive match
# Case insensitive match
shopt -s nocaseglob

if [ -z "${ENV_FILE}" ]; then
Expand Down Expand Up @@ -48,7 +48,7 @@ else
fi

echo "Waiting for DB"
while ! nc -z "${MYSQL_HOST}" "${MYSQL_PORT}"; do
while ! nc -z "${MYSQL_HOST}" "${MYSQL_PORT}"; do
sleep 1 # wait 1 second before check again
done

Expand Down Expand Up @@ -89,7 +89,7 @@ if [ "${IS_CRON_POD:-"false"}" == "false" ]; then
--workers="${GUNICORN_WORKERS}" \
--timeout="${GUNICORN_TIMEOUT}" \
${GUNICORN_RELOAD}

else
if [ -z "${CRONTAB_SCHEDULE}" ]; then
echo "CRONTAB_SCHEDULE environment variable not set, crontab cannot be started. Please set this to a crontab acceptable format."
Expand Down

0 comments on commit 4f2126a

Please sign in to comment.