Changeset 1984

Show
Ignore:
Timestamp:
10/04/07 21:50:14 (7 months ago)
Author:
anarcat
Message:

move everything to alternc-slavedns instead of just slavedns, there might be other slavedns packages out there

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-slavedns/trunk/README

    r1973 r1984  
    2525 
    2626 1. Install the slavedns script whereever you want (probably around 
    27 /usr/local/sbin/alternc
     27/usr/local/sbin/alternc-slavedns
    2828 
    29  2. Install the default configuration file in /etc/slavedns/default.conf (or 
     29 2. Install the default configuration file in /etc/alternc/slavedns/default.conf (or 
    3030modify the script to change this path). 
    3131 
    3232 3. Setup a cronjob like this: 
    3333 
    34 10 * * * * root /usr/local/sbin/slavedns > /dev/null 
     3410 * * * * root /usr/local/sbin/alternc-slavedns > /dev/null 
    3535 
    3636although the script *might* be able to run as non-root.  
     
    4747In short: 
    4848 
    49 cd /etc/slavedns 
     49cd /etc/alternc/slavedns 
    5050cp -p defaults.conf site.conf 
    5151vi site.conf 
  • alternc-slavedns/trunk/alternc-slavedns

    r1972 r1984  
    33# the configuration files contains definitions for remote masters. 
    44 
    5 CONFDIR=/etc/slavedns 
     5CONFDIR=/etc/alternc/slavedns 
    66CACHEDIR=/var/cache/slavedns 
    77BINDDIR=/etc/bind/slavedns 
  • alternc-slavedns/trunk/debian/alternc-slavedns.cron.d

    r1681 r1984  
    11# Synchronize the domain list for your local dns server 
    2 10 * * * * root /usr/sbin/slavedns > /dev/null 
     210 * * * * root /usr/sbin/alternc-slavedns > /dev/null 
  • alternc-slavedns/trunk/debian/dirs

    r1297 r1984  
    11etc/bind/slavedns 
    2 etc/slavedns 
     2etc/alternc/slavedns 
    33var/cache/slavedns 
    44usr/sbin 
  • alternc-slavedns/trunk/debian/rules

    r1981 r1984  
    4646# Add here commands to install the package into debian/tmp. 
    4747# conffiles 
    48         install -o root -g root -m0755 slavedns debian/alternc-slavedns/usr/sbin/ 
    49         install -o root -g root -m0640 defaults.conf debian/alternc-slavedns/etc/slavedns/ 
     48        install -o root -g root -m0755 alternc-slavedns debian/alternc-slavedns/usr/sbin/ 
     49        install -o root -g root -m0640 defaults.conf debian/alternc-slavedns/etc/alternc/slavedns/ 
    5050        chown root.root debian/alternc-slavedns/var/cache/slavedns 
    5151        chown root.root debian/alternc-slavedns/etc/bind/slavedns