summaryrefslogtreecommitdiff
path: root/sysconf/logrotate_messages
diff options
context:
space:
mode:
Diffstat (limited to 'sysconf/logrotate_messages')
-rw-r--r--sysconf/logrotate_messages9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysconf/logrotate_messages b/sysconf/logrotate_messages
new file mode 100644
index 00000000..c2f662ff
--- /dev/null
+++ b/sysconf/logrotate_messages
@@ -0,0 +1,9 @@
+/var/log/messages {
+ missingok
+ notifempty
+ rotate 10
+ size=1000k
+ postrotate
+ kill -HUP `cat /var/run/syslogd.pid`
+ endscript
+}