I just pushed code that catches SIGHUP and reopens the log file if it has 
changed and checks for a new leapseconds file.  You can poke it by hand with
  killall -HUP ntpd

We should get a chance to test the new leap file stuff soon.  It's time for a 
new one.  Besides, a day or two ago, the news said they announced one for the 
end of this year so we'll get to test the run time too.

I think there is a script to fetch a new leap file.  This could be added to 
it.

For logrotate on Linux, you can put a fragment like
this in /etc/logrotate.d/ntpd

/var/log/ntp/ntpd.log {
    monthly
    postrotate
      /usr/bin/killall -HUP ntpd
    endscript
    rotate 9999
}


-- 
These are my opinions.  I hate spam.



_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to