mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
14 lines
306 B
Django/Jinja
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
|
|
}
|