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
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user