diff --git a/deployment/primary-dnsmanagerd-to-powerdns.sh b/deployment/primary-dnsmanagerd-to-powerdns.sh index e31cf24..f16aa42 100755 --- a/deployment/primary-dnsmanagerd-to-powerdns.sh +++ b/deployment/primary-dnsmanagerd-to-powerdns.sh @@ -1,5 +1,6 @@ #!/bin/sh +export PATH=/bin:/sbin:/usr/bin:/usr/sbin # Copying files from the dnsmanagerd bind9 directory to the powerdns directory. PDNSDIR="/var/powerdns/" DNSMANDIR="/tmp/DATA-dnsmanagerd/bind9-zones/" diff --git a/deployment/primary-watchdog.sh b/deployment/primary-watchdog.sh index 420a86f..bfb6ce2 100755 --- a/deployment/primary-watchdog.sh +++ b/deployment/primary-watchdog.sh @@ -1,6 +1,7 @@ #!/bin/sh # Watchdog for the primary name server. +export PATH=/bin:/sbin:/usr/bin:/usr/sbin REMOTE="gandi" REMOTE_DIR="/var/powerdns/" diff --git a/deployment/secondary-watchdog.sh b/deployment/secondary-watchdog.sh index bc7c05e..84c40c6 100755 --- a/deployment/secondary-watchdog.sh +++ b/deployment/secondary-watchdog.sh @@ -1,6 +1,8 @@ #!/bin/sh # Primary sends files in $DIR. +export PATH=/bin:/sbin:/usr/bin:/usr/sbin + DIR="/var/powerdns/" local_update() {