Commit 5e4ac6c8 authored by Łukasz Nowak's avatar Łukasz Nowak

fixup "caddy-frontend: Expose logs using real frontend"

By copy paste mistake wrong log files were configured for log rotation,
resulting with damaging logrotate for the whole partition.
parent 0808bc26
......@@ -22,7 +22,7 @@ md5sum = 5784bea3bd608913769ff9a8afcccb68
[template-apache-frontend]
filename = instance-apache-frontend.cfg.in
md5sum = 9a8064a771de806e7cbddac067957ea9
md5sum = 1709085d62f46b22cbe9369fe324bb49
[template-caddy-replicate]
filename = instance-apache-replicate.cfg.in
......
......@@ -1000,7 +1000,7 @@ config-port = ${frontend-configuration:slave-introspection-https-port}
[logrotate-entry-slave-introspection]
<= logrotate-entry-base
name = slave-introspection
log = ${backend-haproxy-rsyslogd-config:log-file}
log = ${caddy-configuration:slave-introspection-access-log} ${caddy-configuration:slave-introspection-error-log}
rotate-num = ${configuration:rotate-num}
post = kill -USR1 $(cat ${caddy-configuration:slave-introspection-pid-file})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment