[BlueOnyx:10046] Re: Logrotate and access_log

Maurice de Laat mdlaat at muisnetwerken.nl
Wed Apr 4 15:11:19 -05 2012


On Wed, Apr 04, 2012 at 12:09:20PM +0200, Michael Stauber wrote:

> 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

Woops, sorry, my mistake. Guess I wasn't looking any further then the 
first 'httpd.pid'.
-- 
Maurice de Laat



More information about the Blueonyx mailing list