summaryrefslogtreecommitdiffstats
path: root/compass-deck/misc/logrotate.d/ntp
diff options
context:
space:
mode:
Diffstat (limited to 'compass-deck/misc/logrotate.d/ntp')
-rw-r--r--compass-deck/misc/logrotate.d/ntp9
1 files changed, 9 insertions, 0 deletions
diff --git a/compass-deck/misc/logrotate.d/ntp b/compass-deck/misc/logrotate.d/ntp
new file mode 100644
index 0000000..6b290d5
--- /dev/null
+++ b/compass-deck/misc/logrotate.d/ntp
@@ -0,0 +1,9 @@
+/var/log/ntp.log {
+ missingok
+ notifempty
+ sharedscripts
+ delaycompress
+ postrotate
+ /sbin/service ntpd reload > /dev/null 2>/dev/null || true
+ endscript
+}