RE: Apache restarting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Evans [mailto:tevans.uk@xxxxxxxxxxxxxx] wrote:

> Someone sent it USR1 - as the name suggests, it is a user signal. The 
> most common/easiest way to send apache a SIGUSR1 is to run "apachectl 
> graceful". Apache doesn't restart itself.

> Have you configured log rotation? When rotating logs, it is common to 
> gracefully restart apache to write to new log files.

Yep!

I found the answer in /etc/logrotate.d/apache2

/etc/init.d/apache2 reload is executed when logs are rotated.

Thanks!





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux