From 8339247a1e93ee2030933c51d6378dee7d13c534 Mon Sep 17 00:00:00 2001 From: Jorj Bauer Date: Tue, 1 Nov 2022 08:59:48 -0400 Subject: [PATCH] add path to rndc --- bin/sync-master-vhosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sync-master-vhosts b/bin/sync-master-vhosts index 22ae86d..748ddb5 100755 --- a/bin/sync-master-vhosts +++ b/bin/sync-master-vhosts @@ -54,7 +54,7 @@ if ($changecount) { print "Installing new vhost list\n"; system("install -o bind -g bind $path /var/lib/bind/vhost.zones.9"); print "Reloading DNS files\n"; - system("rndc reload"); + system("/usr/sbin/rndc reload"); } exit 0;