software/caddy-frontend: review caddy-log-access to not overwrite installed paths
We were using caddy-log-access-header to make sure we have at least one file to include, but this was implemented in a way that the config file was overwritten. Reimplement this by using caddy-log-access-empty to create an empty file when there are no slaves, caddy-log-access otherwise.
Showing
-
Maintainer
-
Owner
It's required, because both
caddy-log-access
andcaddy-log-access-header
were installing the sameetc/apache-log-access.conf
file.caddy-log-access-header
was here to generate "something" inetc//apache-log-access.conf
even whencaddy-log-access
is not installed because there are not slave.Now we have a
if 'caddy-log-access' not in part_list
to only install this part when there was no slave already installingetc/apache-log-access.conf
. -
Maintainer
Ok, thanks for the background.
Please register or sign in to comment