Generation of slash-tilde waklog directives for each user
[hcoop/domtool2.git] / scripts / domtool-publish
index 9a7574d..f11bc4c 100755 (executable)
@@ -74,7 +74,11 @@ case $1 in
         apache1.3-fixperms)
                 /bin/chown -R domtool.domtool /var/log/apache/user
         ;;
+        users)
+                /bin/cp /var/domtool/waklog.conf /etc/apache2/
+               /etc/init.d/apache2 reload
+        ;;
        *)
-               echo "Usage: domtool-publish [apache|bind|courier|exim|mailman|smtplog STRING]"
+               echo "Usage: domtool-publish [apache|bind|courier|exim|mailman|smtplog STRING|users]"
        ;;
 esac