caddy: disable telemetry

This commit is contained in:
Frank Steinborn 2020-01-27 20:07:15 +01:00 committed by Juan RP
parent 530637732b
commit 7e27697a8a
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ make_dirs="
/etc/caddy 0700 caddy caddy
/var/lib/caddy 0700 caddy caddy"
pre_build() {
vsed -e 's,var EnableTelemetry = true,var EnableTelemetry = false,g' -i caddy/caddymain/run.go
}
post_install() {
vsv caddy
}