#!/sbin/openrc-run configfile="${PROMTAIL_CONF:-/etc/loki/promtail-local-config.yaml}" name="${name:-Promtail}" command="/usr/bin/promtail" command_args="-config.file=${configfile} ${PROMTAIL_OPTS}" command_background=yes make_pidfile=yes pidfile="/run/${RC_SVCNAME}.pid" depend() { need net }