18 lines
357 B
Desktop File
18 lines
357 B
Desktop File
[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
|