Author: Ralph Meijer
Date: 26-01-00 15:40
Generally you don't want to send a HUP signal to
apache, but a USR1. This lets apache restart
gracefully, waiting for all clients to finish. You can
do this by adding 30 after the pidfile, which is the
number of SIGUSR1.
The problem with this is that it can take a while before
all clients are finished, which causes apache to have
the rotated log file still open while newsyslog is
compressing it. I'm not quite confident that this
preserves all log entries...
Also an additional B for the flags will keep newsyslog
from adding a line to the logfiles (old and new) when
it rotated. This is nice when you need to put the
logfiles through analog or webalizer.