[UPHPU] apache error log not rotating

Wade Preston Shearer lists at wadeshearer.com
Mon Sep 3 17:09:27 MDT 2007


> Here's mine - using Fedora 7
>
> /var/log/httpd/*log {
>     missingok
>     notifempty
>     sharedscripts
>     postrotate
>   /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null  
> || true
>     endscript
> }

Hmm… I found an example online that matched what you have there. I  
see what each of the first four items are (by reading their  
definitions in the man file), but don't understand the fifth. What is  
that /bin/kill thing doing?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20070903/7fa3fe52/smime.bin


More information about the UPHPU mailing list