ubuntu support and more

This commit is contained in:
Mateusz Gruszczyński
2025-10-24 08:03:24 +02:00
parent 6d67268397
commit cceabd6873

View File

@@ -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;