1
0
Fork 0
mirror of https://github.com/Luzifer/dns.git synced 2024-12-22 19:01:20 +00:00
dns/zonefile_cron
Knut Ahlers c28c273d7a
Allow specifying a healthcheck ping address
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-12-15 01:36:04 +01:00

7 lines
137 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
cd /src
/usr/bin/python3 generateZonefiles.py
[ -n "${HC_PING}" ] && curl -sSfLo /dev/null "${HC_PING}"