X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/8cf5b8227e29e2f7b0d245fc7a6ddd43eef06ceb..55d4a2686f9334ccd03602c86e43395acef9537d:/scripts/domtool-publish diff --git a/scripts/domtool-publish b/scripts/domtool-publish index b84f1df..acfbe6d 100755 --- a/scripts/domtool-publish +++ b/scripts/domtool-publish @@ -25,6 +25,17 @@ case $1 in /usr/bin/rsync -r --delete /var/domtool/vhosts/ /etc/apache2/vhosts/ /etc/init.d/apache2 start ;; + apache1.3) + /usr/bin/rsync -r --delete /var/domtool/vhosts/ /etc/apache/vhosts/ + /etc/init.d/apache reload + ;; + apache1.3-down) + /etc/init.d/apache stop + ;; + apache1.3-undown) + /usr/bin/rsync -r --delete /var/domtool/vhosts/ /etc/apache/vhosts/ + /etc/init.d/apache start + ;; bind) /usr/bin/rsync -r --delete /var/domtool/zones/ /etc/bind/zones/ /bin/cp /var/domtool/named.conf.local /etc/bind/