mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
18 lines
382 B
Plaintext
18 lines
382 B
Plaintext
#!/sbin/openrc-run
|
|
supervisor=supervise-daemon
|
|
|
|
name=thanos
|
|
description="Highly available Prometheus setup with long term storage capabilities"
|
|
command="/usr/bin/thnaos"
|
|
command_args="$THANOS_EXEC $THANOS_OPTS"
|
|
|
|
rc_ulimit="${THANOS_ULIMIT:--n 65536}"
|
|
|
|
start_stop_daemon_args="--user prometheus:prometheus"
|
|
pidfile="/run/$name.pid"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall prometheus
|
|
}
|