On Mon, 2005-08-08 at 17:27 -0400, david wrote:
> Sean Wells wrote:
> 
> >I have the following options turned on in mine:
> >
> >create
> >compress
> >notifempty
> >nomail
> >noolddir
> >/var/log/apache2/*_log {
> >daily
> >rotate 7
> >sharedscripts
> >postrotate
> >/etc/init.d/apache2 reload >/dev/null # this makes sure apache doesn't
> >continue writing to the old logs
> >endscript
> >}


Mine
/var/log/apache2/*log {
        missingok
        notifempty
        sharedscripts
        postrotate
                /bin/kill -USR1 `cat /var/run/httpd.pid 2>/dev/null`
2> /dev/null || true
         endscript
}


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 15:03:01 up 3 days, 1:38, 9 users, load average: 1.43, 0.97,
0.59 


-- 
gentoo-server@gentoo.org mailing list

Reply via email to