Deploy `systemd` config for `promtail-loki`.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-12 17:21:07 +09:00
parent 0a9b4983d0
commit f2c3a5557d
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=Grafana Promtail
Documentation=https://github.com/grafana/loki
After=network-online.target
[Service]
User=root
Restart=always
ExecStart=/usr/local/bin/promtail --config.file=/etc/promtail/loki.yaml
[Install]
WantedBy=multi-user.target