pez-infra/ansible/roles/alloy/templates/alloy_openrc.j2
Rasmus "Pez" Wejlgaard 5391c500e1
Some checks are pending
Deploy (on merge) / Discover hosts (push) Waiting to run
Deploy (on merge) / Deploy → (push) Blocked by required conditions
fix: loki & alloy (#83)
* fix: loki & alloy

* fix linting
2026-04-28 16:40:45 +01:00

14 lines
306 B
Django/Jinja

#!/sbin/openrc-run
# Ansible managed
name="alloy"
description="Grafana Alloy log shipping agent"
command="/usr/local/bin/alloy"
command_args="run --storage.path=/var/lib/alloy/data /etc/alloy/config.alloy"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
use logger
}