From 65c3a44e63b24c1d428bd0a53c9f6b6b34a6a858 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Sat, 19 Jul 2014 16:31:05 +0000 Subject: [PATCH] the cron job to re-sign DNSSEC zones wasnt working after adding the API key to the management daemon because the script relied on a bash-ism but cron runs it with (probably) sh --- setup/dns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 setup/dns.sh diff --git a/setup/dns.sh b/setup/dns.sh old mode 100644 new mode 100755 index 55528a0a..3a7b1496 --- a/setup/dns.sh +++ b/setup/dns.sh @@ -1,3 +1,4 @@ +#!/bin/bash # DNS: Configure a DNS server using nsd ####################################### @@ -65,10 +66,9 @@ fi # Force the dns_update script to be run every day to re-sign zones for DNSSEC. cat > /etc/cron.daily/mailinabox-dnssec << EOF; -#!/bin/bash # Mail-in-a-Box # Re-sign any DNS zones with DNSSEC because the signatures expire periodically. -curl -d GO --user \$(