ubuntu support and more
This commit is contained in:
@@ -394,8 +394,6 @@ exec sudo -n /usr/sbin/angie "$@"
|
|||||||
def write_metrics_files():
|
def write_metrics_files():
|
||||||
"""Create /etc/angie/prometheus_all.conf and /etc/angie/metrics.conf (port 82 with console & status)."""
|
"""Create /etc/angie/prometheus_all.conf and /etc/angie/metrics.conf (port 82 with console & status)."""
|
||||||
with step("Adding Angie metrics & console on :82"):
|
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;
|
metrics = """include /etc/angie/prometheus_all.conf;
|
||||||
server {
|
server {
|
||||||
listen 82;
|
listen 82;
|
||||||
|
|||||||
Reference in New Issue
Block a user