diff --git a/npm_install.py b/npm_install.py index 111656f..87ed3cf 100644 --- a/npm_install.py +++ b/npm_install.py @@ -394,8 +394,6 @@ exec sudo -n /usr/sbin/angie "$@" def write_metrics_files(): """Create /etc/angie/prometheus_all.conf and /etc/angie/metrics.conf (port 82 with console & status).""" with step("Adding Angie metrics & console on :82"): - # global prometheus config that can be reused - write_file(Path("/etc/angie/prometheus_all.conf"), "prometheus all;\n", 0o644) metrics = """include /etc/angie/prometheus_all.conf; server { listen 82;