Subject: dhcpd log rotation
To: None <email@example.com>
From: Thierry Lacoste <firstname.lastname@example.org>
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
Now I'd like to rotate /var/log/dhcpd so I put the following line
/var/log/dhcpd root:wheel 600 7 100 * Z /var/run/dhcpd.pid
It doesn't work because kill -HUP `cat /var/run/dhcpd.pid `
just kills the server and doesn't restart it.
What are my options?