Deploy `systemd` config for `Loki`.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-12 17:00:38 +09:00
parent 49869c48fa
commit d6c76791b6
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[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