edge-host: fix edge-alloy ExecStart (Arch binary is grafana-alloy) #116

Merged
k.renner merged 1 commits from fix/edge-alloy-binary-path into master 2026-07-07 07:10:31 +00:00
2 changed files with 2 additions and 1 deletions
@@ -16,6 +16,7 @@ edge_docker_log_driver: journald # container stdout -> journal, no json log
# is the authenticated cluster ingress (Traefik basic-auth).
edge_alloy_config_file: /etc/alloy/edge.alloy
edge_alloy_http_port: 12345
edge_alloy_bin: /usr/bin/grafana-alloy # Arch `grafana-alloy` pkg names the binary this, not `alloy`
edge_loki_push_url: "https://loki.renner.uno/loki/api/v1/push"
edge_loki_username: edge-1
edge_alloy_labels:
@@ -13,7 +13,7 @@ SupplementaryGroups=systemd-journal
# WAL + positions on tmpfs so the agent never writes to the eMMC. %t is the
# runtime dir root (/run); RuntimeDirectory creates /run/alloy owned by us.
RuntimeDirectory=alloy
ExecStart=/usr/bin/alloy run \
ExecStart={{ edge_alloy_bin }} run \
--server.http.listen-addr=127.0.0.1:{{ edge_alloy_http_port }} \
--storage.path=%t/alloy \
{{ edge_alloy_config_file }}