Skip to content

Commit

Permalink
build: update trigger for odk db backup script to run
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jul 31, 2024
1 parent e3e68b7 commit 7c45dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/backup-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ while true; do
pretty_echo "### Backup FMTM Complete ###"

# Only run ODK Central DB Backups if variables set
if [ -n "${CENTRAL_DB_HOST}" ]; then
if [ -n "${CENTRAL_DB_PASSWORD}" ]; then
pretty_echo "### Backup ODK Central $(date +%Y-%m-%d_%H:%M:%S) ###"
check_central_db_vars_present
wait_for_db "${CENTRAL_DB_HOST:-central-db}"
Expand Down

0 comments on commit 7c45dc5

Please sign in to comment.