itamae/cookbooks/loki/files/etc/systemd/system/loki.service

13 lines
250 B
SYSTEMD
Raw Permalink Normal View History

2020-10-12 08:00:38 +00:00
[Unit]
Description=Grafana Loki
Documentation=https://github.com/grafana/loki
After=network-online.target
[Service]
User=root
Restart=always
ExecStart=/usr/local/bin/loki --config.file=/etc/loki/loki-config.yml
[Install]
WantedBy=multi-user.target