[app-admin/loki] interim version, not really tested.
This commit is contained in:
11
app-admin/loki/files/loki.initd
Normal file
11
app-admin/loki/files/loki.initd
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user