summaryrefslogtreecommitdiff
path: root/factory-default
diff options
context:
space:
mode:
Diffstat (limited to 'factory-default')
-rw-r--r--factory-default/net-proxy/haproxy/etc/logrotate.d/haproxy6
1 files changed, 6 insertions, 0 deletions
diff --git a/factory-default/net-proxy/haproxy/etc/logrotate.d/haproxy b/factory-default/net-proxy/haproxy/etc/logrotate.d/haproxy
new file mode 100644
index 00000000..f5e6470c
--- /dev/null
+++ b/factory-default/net-proxy/haproxy/etc/logrotate.d/haproxy
@@ -0,0 +1,6 @@
+/var/log/haproxy.log {
+ sharedscripts
+ postrotate
+ /etc/init.d/syslog-ng reload > /dev/null
+ endscript
+}