summaryrefslogtreecommitdiff
path: root/etc/logrotate.d
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-06-15 18:28:18 -0700
committerBob Gilligan <gilligan@vyatta.com>2011-06-15 18:28:18 -0700
commit934f5ca6af3e7c603be04df3d5212bd228d00e49 (patch)
tree7f235e175073537c4effb62e381258cd86a3b20f /etc/logrotate.d
parent9d095443921c0414def931591595f9903e90af83 (diff)
downloadvyatta-cfg-vpn-934f5ca6af3e7c603be04df3d5212bd228d00e49.tar.gz
vyatta-cfg-vpn-934f5ca6af3e7c603be04df3d5212bd228d00e49.zip
Bugfix 6767: Move /tmp/ipsec.log to /var/log/vyatta and rotate it.
Diffstat (limited to 'etc/logrotate.d')
-rw-r--r--etc/logrotate.d/vyatta-ipsec-logs7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/logrotate.d/vyatta-ipsec-logs b/etc/logrotate.d/vyatta-ipsec-logs
new file mode 100644
index 0000000..fe3c83d
--- /dev/null
+++ b/etc/logrotate.d/vyatta-ipsec-logs
@@ -0,0 +1,7 @@
+
+/var/log/vyatta/ipsec.log {
+ nocompress
+ size 1M
+ rotate 2
+ create 664 root root
+}