Sync before Archive

This commit is contained in:
2026-02-25 20:36:50 -06:00
parent 73eee46101
commit 7c2ef04d47
17 changed files with 1464 additions and 191 deletions

View File

@@ -0,0 +1,14 @@
{# ansible/roles/haproxy/templates/logrotate.j2 #}
{{ haproxy_log_dir }}/*.log {
daily
rotate 14
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /var/run/haproxy.pid 2> /dev/null` 2> /dev/null || true
endscript
}