Correct path bug in domtool-publish apache
[hcoop/domtool2.git] / scripts / domtool-publish
index 5a23f7e..56b902e 100755 (executable)
@@ -2,7 +2,7 @@
 
 case $1 in
        apache)
-               /usr/bin/rsync --delete /var/domtool/vhosts/* /etc/apache2/
+               /usr/bin/rsync --delete /var/domtool/vhosts/* /etc/apache2/vhosts/
                echo "I would reload Apache now."
 #              /etc/init.d/apache2 reload
        ;;
@@ -27,3 +27,4 @@ case $1 in
        *)
                echo "Usage: domtool-publish [apache|bind|exim|mailman]"
        ;;
+esac