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

13 lines
250 B
SYSTEMD

[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