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:
parent
0ec66288b6
commit
5509b07424
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|
||||||
|
|
||||||
# Every day at 4am, produce raw statistics
|
# Every day at 4am, produce raw statistics
|
||||||
0 4 * * * root /usr/lib/alternc/rawstat.daily
|
0 4 * * * root /usr/lib/alternc/rawstat.daily
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
alternc (1.0.3) stable; urgency=high
|
alternc (1.0.3) stable; urgency=high
|
||||||
* Bugfix: the 'connect' button in the list of installed domains didn't work, make it work
|
* 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
|
-- Benjamin Sonntag <benjamin@alternc.org> Wed, 12 Oct 2011 18:00:00 +0200
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ if [ ! -z "$RELOAD_ZONES" ]; then
|
||||||
apache_reload
|
apache_reload
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
$sudo rndc reload "$zone" || echo "Cannot reload bind for zone $zone"
|
$sudo rndc reload || echo "Cannot reload bind for zone $zone"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue