mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
16 lines
356 B
Bash
16 lines
356 B
Bash
#!/sbin/openrc-run
|
|
|
|
name="cortex-tenant"
|
|
description="Prometheus remote write proxy that adds Cortex/Mimir tenant ID based on metric labels"
|
|
|
|
: ${command_user:="cortex-tenant"}
|
|
|
|
command="/usr/bin/cortex-tenant"
|
|
command_args="-config $CONFIGFILE $command_args"
|
|
command_background="yes"
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|