Skip to content

Commit 96ca5bb

Browse files
committed
Corrected HEALTHY.status typo
1 parent 81f5e3d commit 96ca5bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ RUN mkdir /backup && \
4242
VOLUME ["/backup"]
4343

4444
HEALTHCHECK --interval=2s --retries=1800 \
45-
CMD stat /HEALTLY.status || exit 1
45+
CMD stat /HEALTHY.status || exit 1
4646

4747
ENTRYPOINT dockerize -wait tcp://${MYSQL_HOST}:${MYSQL_PORT} -timeout ${TIMEOUT} /run.sh

run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ elif [ -n "${INIT_RESTORE_LATEST}" ]; then
1414
find /backup -maxdepth 1 -name '*.sql.gz' | tail -1 | xargs /restore.sh
1515
fi
1616

17-
touch /HEALTLY.status
17+
touch /.status
1818

1919
echo "${CRON_TIME} /backup.sh >> /mysql_backup.log 2>&1" > /tmp/crontab.conf
2020
crontab /tmp/crontab.conf

0 commit comments

Comments
 (0)