From 2f2929cf687addbcb873408cdaf103ca292ec6bb Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 02:39:40 +0000 Subject: automatic import of haproxy --- haproxy.logrotate | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 haproxy.logrotate (limited to 'haproxy.logrotate') diff --git a/haproxy.logrotate b/haproxy.logrotate new file mode 100644 index 0000000..96544e0 --- /dev/null +++ b/haproxy.logrotate @@ -0,0 +1,12 @@ +/var/log/haproxy.log { + daily + rotate 10 + missingok + notifempty + compress + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true + endscript +} -- cgit v1.2.3