caddy: disable telemetry
This commit is contained in:
parent
530637732b
commit
7e27697a8a
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue