From 11ac001a47d20a6cec7b0d502bafc7f21956700a Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Thu, 27 Apr 2017 22:01:14 +0200 Subject: add logrotate for auth.log --- etc/logrotate.d/auth | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 etc/logrotate.d/auth diff --git a/etc/logrotate.d/auth b/etc/logrotate.d/auth new file mode 100644 index 0000000..ef65e62 --- /dev/null +++ b/etc/logrotate.d/auth @@ -0,0 +1,13 @@ +/var/log/auth.log +{ + rotate 6 + size 10M + missingok + notifempty + compress + delaycompress + sharedscripts + postrotate + invoke-rc.d rsyslog rotate > /dev/null + endscript +} -- cgit v1.2.3