[BlueOnyx:10030] Re: Logrotate and access_log

Michael Stauber mstauber at blueonyx.it
Wed Apr 4 05:09:20 -05 2012


Hi Maurice,

> Since the big amount of updates a few days ago, /etc/logrotate.d/apache 
> has been replaced and reintroduced an old bug that's being described in 
> [BlueOnyx:09096] 
> http://mail.blueonyx.it/pipermail/blueonyx/2011-November/009092.html
> 
> Is it just me (on 5107R) or do others notice this as well?

Are you sure? I just checked and my /etc/logrotate.d/apache on 5107R and 5108R 
shows this for restarting Apache:

/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null ; /bin/kill -
HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true

These provisions cover both 5106R as well as 5107R/5108R.

That modification was introduced here:

http://devel.blueonyx.it/trac/changeset/810/BlueOnyx/ui/base-sitestats.mod/src

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list