slackware-current/source/n/ntp/ntp.logrotate
Patrick J Volkerding 7da4809348 Mon Jun 12 20:37:03 UTC 2023
ap/xorriso-1.5.6.pl01-x86_64-1.txz:  Upgraded.
d/rust-1.69.0-x86_64-1.txz:  Upgraded.
n/ntp-4.2.8p17-x86_64-2.txz:  Rebuilt.
  Fixed typo in ntp.conf comments.
  Fixed logic in ntp.logrotate to allow proper rotation on systems where ntpd
  is not automatically started at boot.
  Thanks to allend.
x/xkeyboard-config-2.39-noarch-1.txz:  Upgraded.
testing/packages/rust-1.70.0-x86_64-1.txz:  Upgraded.
2023-06-13 00:02:22 +02:00

8 lines
148 B
Text

/var/log/ntp {
notifempty
missingok
rotate 4
postrotate
! [ -x /etc/rc.d/rc.ntpd ] || /etc/rc.d/rc.ntpd restart
endscript
}