5 /usr
/bin
/rsync
-r --delete /var
/domtool
/vhosts
/ /etc
/apache
2/vhosts
/
6 /etc
/init.d
/apache2 reload
9 /etc
/init.d
/apache2 stop
12 /usr
/bin
/rsync
-r --delete /var
/domtool
/vhosts
/ /etc
/apache
2/vhosts
/
13 /etc
/init.d
/apache2 start
16 /usr
/bin
/rsync
-r --delete /var
/domtool
/zones
/ /etc
/bind
/zones
/
17 /bin
/cp /var
/domtool
/named.conf.
local /etc
/bind
/
18 /etc
/init.d
/bind9 reload
21 /bin
/cp /var
/domtool
/aliases
/etc
/
22 /bin
/cp /var
/domtool
/aliases.default
/etc
/
23 /bin
/cp /var
/domtool
/local_domains.cfg
/etc
/exim
4/
24 /etc
/init.d
/exim4 reload
27 /bin
/cp /var
/domtool
/mailman.map
/etc
/mailman
28 /etc
/init.d
/mailman reload
31 echo "Usage: domtool-publish [apache|bind|exim|mailman]"