Subject: dhcpd log rotation
To: None <>
From: Thierry Lacoste <>
List: netbsd-users
Date: 04/05/2006 18:57:56
I have a dhcpd server on NetBSD 3.0.
To make it log to /var/log/dhcpd my /etc/syslog.conf contains

*.*                                                     /var/log/dhcpd

Now I'd like to rotate /var/log/dhcpd so I put the following line
in /etc/newsyslog.conf
/var/log/dhcpd  root:wheel  600  7   100  * Z   /var/run/

It doesn't work because kill -HUP `cat /var/run/ `
just kills the server and doesn't restart it.

What are my options?