On Mon, Jun 18, 2007 at 02:14:17PM -0700, Don Armstrong <[EMAIL PROTECTED]> 
wrote:
> On Mon, 18 Jun 2007, Mike Hommey wrote:
> > Note 2 things:
> > - That's already 2 different users reporting bugs using hotmail,
> >   in 2 weeks.
> > - The text/html counterpart is just fine...
> 
> <body><div style=3D"text-align: left;"><pre>Package: apache2-common<br>Vers=
> ion: 2.0.54-5sarge1<br><br>Package: apache2.2-common<br>Version: 2.2.3-4<br=
> ><br>In the logrotate config file for Apache (/etc/logrotate.d/apache2), th=
> e "restart" command is used to tell Apache to use the new logfiles after th=
> ey have been rotated. <br>This is kind of harsh since it's a full stop &amp=
> ; start of the server. It also causes problems for people using SSL certifi=
> cates for which the key <br>is encrypted, and thus needs a passphrase to be=
>  typed in everytime Apache starts.<br><br>Here's the relevant part of /etc/=
> logrotate.d/apache2 :<br><br>        postrotate<br>                if [ -f =
> /var/run/apache2.pid ]; then<br>                        /etc/init.d/apache2=
>  restart &gt; /dev/null<br>                fi <br>        endscript<br><br>=
> May I suggest that "restart" be changed for "reload", which has the same ef=
> fect regarding logfile rotation, does not require the passphrase to be re-e=
> ntered, and is less harsh overall.<br><br>        postrotate<br>           =
>      if [ -f /var/run/apache2.pid ]; then<br>                        /etc/i=
> nit.d/apache2 reload &gt; /dev/null<br>                fi<br>        endscr=
> 
> must be some definition of fine I was not previously aware of.

A definition such as "a browser can display something readable"...

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to