From 5afffbdac3c5a6ccf622a470e9b08af622fbadc2 Mon Sep 17 00:00:00 2001 From: Jorj Bauer Date: Tue, 23 Feb 2016 16:33:48 -0500 Subject: [PATCH] working on a population bug... --- DDNS.pm | 3 ++- sync-master-vhosts.cron | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 sync-master-vhosts.cron diff --git a/DDNS.pm b/DDNS.pm index b4b55e9..7d7c5b8 100644 --- a/DDNS.pm +++ b/DDNS.pm @@ -150,7 +150,8 @@ sub cleanup { my ($this) = @_; # Merge the .jnl file in with the domain file system("rndc sync -clean private.invalid"); - system("rndc reload"); + # Rebuild and reload the master vhosts files + system("/usr/local/bin/sync-master-vhosts"); } 1; diff --git a/sync-master-vhosts.cron b/sync-master-vhosts.cron deleted file mode 100644 index bb4224c..0000000 --- a/sync-master-vhosts.cron +++ /dev/null @@ -1,2 +0,0 @@ -MAILTO=jorj@jorj.org -* * * * * root /usr/local/bin/sync-master-vhosts