From 0b661f211725aa6267f1c161c7ddde1b713e6252 Mon Sep 17 00:00:00 2001 From: efnet-nl Date: Mon, 7 Sep 2009 20:54:48 +0000 Subject: [PATCH] Force a configtest before reloading the ircd. git-svn-id: svn+ssh://svn.ipng.nl/usr/share/subversion/repositories/irc.efnet.nl@14 0a436592-62d7-4152-98a5-b7e29e440240 --- cron/update.cron | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron/update.cron b/cron/update.cron index 1e1c786..2eae1f1 100644 --- a/cron/update.cron +++ b/cron/update.cron @@ -20,6 +20,8 @@ function bitcron_main() warning "Incorporating these diffs from the repository" cat $DIFF svn update || error "Could not update local copy" + echo "Testing ircd config" + /home/ircd/ircd/bin/ircd -conftest || fatal "Invalid configuration at HEAD!" echo "Sending -HUP to the ircd" pkill -HUP ircd || error "Could not send HUP to ircd" }