Hi

On 6/3/07, Bob Marcan <[EMAIL PROTECTED]> wrote:
>
>
> man logrotate.8
> ...
>    "/var/log/httpd/access.log" /var/log/httpd/error.log {
>                  rotate 5
>                  mail [EMAIL PROTECTED]
>                  size=100k
>                  sharedscripts
>                  postrotate
>                         /sbin/killall -HUP httpd
>                  endscript
>           }


i tried this in my logrotate but still it doesn't rotate by size here's my
squid logrotate file


 /var/log/squid/access.log {
#    weekly
    rotate 5
    copytruncate
    compress
    notifempty
    missingok
    size=1000M
    postrotate
      /usr/sbin/squid -k rotate
        #/sbin/killall -HUP squid
    endscript


im not sure if i killall -HUP or just run squid -k rotate

thanks!
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to