From cdbf5476aefb2f8182170f58841b1aa720ceab9a Mon Sep 17 00:00:00 2001 From: Jean-Marie Gervais Date: Mon, 20 Oct 2025 18:40:59 +0200 Subject: [PATCH] feat: do not send stats --- roles/alloy/agent/templates/alloy.service.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/alloy/agent/templates/alloy.service.j2 b/roles/alloy/agent/templates/alloy.service.j2 index 8e944a2..25d7e2a 100644 --- a/roles/alloy/agent/templates/alloy.service.j2 +++ b/roles/alloy/agent/templates/alloy.service.j2 @@ -11,7 +11,10 @@ UMask=0027 Type=simple User={{ alloy_user }} Group={{ alloy_group }} -ExecStart=/bin/bash -c 'exec {{ alloy_install_dir }}/alloy-linux-amd64 --storage.path={{ alloy_data_dir }}/data run {{ alloy_conf_dir }}/alloy.conf >>{{ alloy_log_dir }}/{{ alloy_log_file }} 2>&1' +ExecStart=/bin/bash -c 'exec {{ alloy_install_dir }}/alloy-linux-amd64 \ + --storage.path={{ alloy_data_dir }}/data \ + --disable-reporting=true \ + run {{ alloy_conf_dir }}/alloy.conf >>{{ alloy_log_dir }}/{{ alloy_log_file }} 2>&1' # Give a reasonable amount of time for alloy to start up/shut down TimeoutSec = 60 Restart = on-failure