summaryrefslogtreecommitdiffstats
path: root/syslog-ng/syslog-ng.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-ng/syslog-ng.logrotate')
-rw-r--r--syslog-ng/syslog-ng.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/syslog-ng/syslog-ng.logrotate b/syslog-ng/syslog-ng.logrotate
new file mode 100644
index 000000000..3509f2970
--- /dev/null
+++ b/syslog-ng/syslog-ng.logrotate
@@ -0,0 +1,7 @@
+/var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log {
+ missingok
+ sharedscripts
+ postrotate
+ /bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
+ endscript
+}