mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 20:25:17 +03:00
11 lines
251 B
Bash
11 lines
251 B
Bash
#!/sbin/openrc-run
|
|
|
|
configfile="${LOKI_CONF:-/etc/loki/loki-local-config.yaml}"
|
|
|
|
command=/usr/bin/loki
|
|
command_args="-config.file=${configfile}
|
|
${LOKI_OPTS}"
|
|
command_background=yes
|
|
command_user=loki:grafana
|
|
make_pidfile=yes
|
|
pidfile=/var/run/loki.pid
|