summaryrefslogtreecommitdiff
path: root/etc/logrotate.d/auth
diff options
context:
space:
mode:
Diffstat (limited to 'etc/logrotate.d/auth')
-rw-r--r--etc/logrotate.d/auth13
1 files changed, 13 insertions, 0 deletions
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
+}