Subject: dhcpd log rotation
To: None <firstname.lastname@example.org>
From: Thierry Lacoste <email@example.com>
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?