You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Xiongfei Wang <wa...@arches.uga.edu> on 2003/01/30 15:32:18 UTC
[users@httpd] logrotate.d, what wrong with this script
Following script in file /et/logrotate.d/apache does not work, i believe
the problem is multiple header lines.
how can i fix this script?
Thanks
---------------------------------------------------------------------
/var/log/httpd/apidb-dev/access_log /var/log/httpd/apidb-dev/error_log
/var/log/httpd/apidb/access_log /var/log/httpd/apidb/error_log
/var/log/httpd/tcruzidb-dev/access_log
/var/log/httpd/tcruzidb-dev/error_log
/var/log/httpd/tcruzidb/access_log /var/log/httpd/tcruzidb/error_log
/var/log/httpd/cryptodb-dev/access_log
/var/log/httpd/cryptodb-dev/error_log
/var/log/httpd/cryptodb/access_log /var/log/httpd/cryptodb/error_log
/var/log/httpd/plasmodb-dev/access_log
/var/log/httpd/plasmodb-dev/error_log
{
rotate 4
daily
postrotate
/usr/bin/killall -HUP httpd
endscript
nocompress
}
----------------------------------------------------------------------------
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org