diff options
Diffstat (limited to 'patches/source/ntp/ntp.logrotate')
-rw-r--r-- | patches/source/ntp/ntp.logrotate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/patches/source/ntp/ntp.logrotate b/patches/source/ntp/ntp.logrotate new file mode 100644 index 000000000..77f7d7b3f --- /dev/null +++ b/patches/source/ntp/ntp.logrotate @@ -0,0 +1,8 @@ +/var/log/ntp { + notifempty + missingok + rotate 4 + postrotate + [ -x /etc/rc.d/rc.ntpd ] && /etc/rc.d/rc.ntpd restart + endscript +} |