fixing it for real : it was no PATH issue but a rndc reload <zone> strange behavior: doesn't work to load a new zone

This commit is contained in:
Benjamin Sonntag 2012-03-19 08:50:50 +00:00
parent 0ec66288b6
commit 5509b07424
3 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,4 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# Every day at 4am, produce raw statistics
0 4 * * * root /usr/lib/alternc/rawstat.daily

2
debian/changelog vendored
View File

@ -1,6 +1,6 @@
alternc (1.0.3) stable; urgency=high
* Bugfix: the 'connect' button in the list of installed domains didn't work, make it work
* Bugfix: fixing PATH issue in update_domains that prevents the "rndc reload"
* Bugfix: fixing RNDC RELOAD behavior issue when ADDING a domain name
-- Benjamin Sonntag <benjamin@alternc.org> Wed, 12 Oct 2011 18:00:00 +0200

View File

@ -76,7 +76,7 @@ if [ ! -z "$RELOAD_ZONES" ]; then
apache_reload
;;
*)
$sudo rndc reload "$zone" || echo "Cannot reload bind for zone $zone"
$sudo rndc reload || echo "Cannot reload bind for zone $zone"
;;
esac
done