summaryrefslogtreecommitdiffstats
path: root/source/n/ntp/ntp.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/ntp/ntp.logrotate')
-rw-r--r--source/n/ntp/ntp.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/n/ntp/ntp.logrotate b/source/n/ntp/ntp.logrotate
new file mode 100644
index 000000000..6f2937a99
--- /dev/null
+++ b/source/n/ntp/ntp.logrotate
@@ -0,0 +1,7 @@
+/var/log/ntp {
+ notifempty
+ missingok
+ postrotate
+ [ -x /etc/rc.d/rc.ntpd ] && /etc/rc.d/rc.ntpd restart
+ endscript
+}