summaryrefslogtreecommitdiffstats
path: root/debian/logrotate.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/logrotate.conf')
-rw-r--r--debian/logrotate.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/logrotate.conf b/debian/logrotate.conf
new file mode 100644
index 0000000..0086ee1
--- /dev/null
+++ b/debian/logrotate.conf
@@ -0,0 +1,11 @@
+/var/log/haproxy.log {
+ daily
+ rotate 7
+ missingok
+ notifempty
+ compress
+ delaycompress
+ postrotate
+ [ ! -x /usr/lib/rsyslog/rsyslog-rotate ] || /usr/lib/rsyslog/rsyslog-rotate
+ endscript
+}