Subject: Re: newsyslog not sufficiently magic?
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 06/06/2003 01:25:04
In message <m19OAaC-000B40C@proven.weird.com>, "Greg A. Woods" writes:
>> 'kill -HUP $(</var/run/httpd.pid)' does what I want.

>If your httpd is Apache 1.x then you probably want to send it a SIGUSR1,
>not a SIGHUP.

Hmm.  Well, SIGHUP is working - if I do it by hand.

I'm also not clear on whether I should be saying "SIGUSR1" or just "USR1".

>That may be part of the problem.  I know with my own version of
>newsyslog it is important to have the PID and signo fields specified for
>all lines for something like httpd with multiple log files, even when
>the other control fields are identical and specify that all the files
>should be rotated at the same time like yours do.

Hmm.  So, does that make it restart Apache 8 times, or what?

-s