summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2017-04-27 22:01:14 +0200
committerKim Hagen <kim.sidney@gmail.com>2017-04-27 22:01:14 +0200
commit11ac001a47d20a6cec7b0d502bafc7f21956700a (patch)
tree7a71b56d4b766772dc8a398c490de923be49b385
parent41b7c32e9db6c8e0fb33274e25b26a492eefb5d3 (diff)
downloadvyatta-cfg-11ac001a47d20a6cec7b0d502bafc7f21956700a.tar.gz
vyatta-cfg-11ac001a47d20a6cec7b0d502bafc7f21956700a.zip
add logrotate for auth.log
-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
+}