|
Revision 724, 480 bytes
(checked in by anarcat, 3 years ago)
|
[project @ Big work on BIND interaction]
Big work on BIND interaction
Big work on BIND interaction :
- do_domaines.sh was mostly rewritten, and is now named update_domains.sh
- templates used to build automatic.conf and zone files are now in
/etc/bind/templates once installed
- automatic.conf and slaveip.conf are now generated in /var/alternc/bind
- zone fils are now generated in /var/alternc/bind/zones.
- Renames :
/etc/bind/domaines.template -> /etc/bind/templates/named.template
/etc/bind/master/domaines.template -> /etc/bind/templates/zone.template * Gone (unused) :
/etc/bind/master/mx.template
/etc/bind/master/slave.template
/etc/bind/master
- The Debian preinst script take cares of moving updating file locations
ONETIME_FILES was removed from alternc.install :
- postfix's header_checks and body_checks are copied only once by
alternc.install, and have been move from /etc/alternc/templates
(there was no macro expansion anyway)
- /var/alternc/bind/automatic.conf is now generated empty if it doesn't
exists
- /var/alternc/bind/slaveip.conf is now generated by alternc.install
calling the slave_dns script.
Other fixes in alternc.install :
- The tar used to check for installed files modifications now redirect
errors to /dev/null
- Reorganized to group small things together
Original author: lunar@anargeek.net
Date: 2005-09-06 18:57:06
|
| Line | |
|---|
| 1 |
# Every day at 4am, produce raw statistics |
|---|
| 2 |
0 4 * * * www-data /usr/lib/alternc/rawstat.daily |
|---|
| 3 |
|
|---|
| 4 |
# Every day at 5am and every week at 4am, make requested SQL backups |
|---|
| 5 |
0 5 * * * www-data /usr/lib/alternc/sqlbackup.sh daily |
|---|
| 6 |
0 4 * * 0 www-data /usr/lib/alternc/sqlbackup.sh weekly |
|---|
| 7 |
|
|---|
| 8 |
# Every 5 minutes, spool waiting domain changes |
|---|
| 9 |
*/5 * * * * root /usr/lib/alternc/update_domains.sh |
|---|
| 10 |
|
|---|
| 11 |
# Every hour, check for slave_dns refreshes |
|---|
| 12 |
5 * * * * root /usr/lib/alternc/slave_dns |
|---|