Skip to content

Commit

Permalink
Tweaks for health checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Feb 4, 2025
1 parent 982529d commit 3cd3aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/health-scripts/container_health_postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -euo pipefail
[[ "${NETBOX_POSTGRES_DISABLED:-false}" == 'true' ]] && exit 0

# check if postgres is ready and responding
pg_isready -d "${POSTGRES_DB}" -U "${POSTGRES_USER}" || exit 1
pg_isready -d "${POSTGRES_DB}" -U "${POSTGRES_USER}" >/dev/null 2>&1 || exit 1

0 comments on commit 3cd3aed

Please sign in to comment.