[app-admin/loki] interim version, not really tested.
This commit is contained in:
17
app-admin/loki/files/loki.service
Normal file
17
app-admin/loki/files/loki.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Loki
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User=loki
|
||||
Group=grafana
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
EnvironmentFile=/etc/conf.d/loki
|
||||
Environment=LOKI_CONF=/etc/loki/loki-local-config.yaml
|
||||
ExecStart=/usr/bin/loki -config.file=${LOKI_CONF} ${LOKI_OPTS}
|
||||
PIDFile=/run/loki.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user