Subject: newsyslog not sufficiently magic?
To: None <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 06/06/2003 01:10:18
So, I have stuff like this in /etc/newsyslog.conf:

/var/log/httpd/access_log               640  7    *    168  ZBN
/var/log/httpd/error_log                640  7    *    168  ZBN
/var/log/httpd/referer_log              640  7    *    168  ZBN
/var/log/httpd/agent_log                640  7    *    168  ZBN
/var/log/httpd/suexec_log               640  7    *    168  ZBN /var/run/httpd.pid      SIGHUP

This isn't working.  What should I be doing differently?  I tried "HUP",
and that didn't work either.

'kill -HUP $(</var/run/httpd.pid)' does what I want.

What's newsyslog doing differently?

Is there some underlying magic I need to be aware of, perhaps, in what order
it does things in?

-s