summaryrefslogtreecommitdiff
path: root/factory-default
diff options
context:
space:
mode:
Diffstat (limited to 'factory-default')
-rw-r--r--factory-default/app-admin/syslog-ng/etc/logrotate.d/syslog-ng12
1 files changed, 12 insertions, 0 deletions
diff --git a/factory-default/app-admin/syslog-ng/etc/logrotate.d/syslog-ng b/factory-default/app-admin/syslog-ng/etc/logrotate.d/syslog-ng
new file mode 100644
index 00000000..9e10e0dd
--- /dev/null
+++ b/factory-default/app-admin/syslog-ng/etc/logrotate.d/syslog-ng
@@ -0,0 +1,12 @@
+/var/log/auth.log
+/var/log/cron.log
+/var/log/daemon.log
+/var/log/debug.log
+/var/log/kern.log
+/var/log/mail.log
+/var/log/messages
+/var/log/user.log {
+ postrotate
+ /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
+ endscript
+}