]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dns/templates/default/dns-check.erb
Drop role and cookbook for the old tile CDN
[chef.git] / cookbooks / dns / templates / default / dns-check.erb
1 #!/bin/sh
2
3 export GEODNS_SERVERS="<%= @geoservers.join(" ") %>"
4 export STATUSCAKE_USERNAME="OpenStreetMap"
5 export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] %>"
6 export PATH=/usr/local/bin:$PATH
7
8 lockfile-create --use-pid /var/lib/dns/update || exit 1
9
10 make --quiet --jobs --directory=/var/lib/dns update_primary > /dev/null
11
12 lockfile-remove /var/lib/dns/update