From c28c273d7a2d9106eaecefc12f2be9ad07dde657 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 15 Dec 2018 01:36:04 +0100 Subject: [PATCH] Allow specifying a healthcheck ping address Signed-off-by: Knut Ahlers --- zonefile_cron | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zonefile_cron b/zonefile_cron index 3db8609..4ca8e08 100755 --- a/zonefile_cron +++ b/zonefile_cron @@ -2,4 +2,6 @@ set -euxo pipefail cd /src -exec /usr/bin/python3 generateZonefiles.py +/usr/bin/python3 generateZonefiles.py + +[ -n "${HC_PING}" ] && curl -sSfLo /dev/null "${HC_PING}"