summaryrefslogtreecommitdiffstats
path: root/network/haproxy/logrotate.example
diff options
context:
space:
mode:
Diffstat (limited to 'network/haproxy/logrotate.example')
-rw-r--r--network/haproxy/logrotate.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/haproxy/logrotate.example b/network/haproxy/logrotate.example
new file mode 100644
index 0000000000..7bc93f8e33
--- /dev/null
+++ b/network/haproxy/logrotate.example
@@ -0,0 +1,9 @@
+/var/log/haproxy {
+ notifempty
+ weekly
+ missingok
+ rotate 4
+ postrotate
+ /bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}