itamae/cookbooks/nginx/files/lib/systemd/system/promtail-nginx.service

13 lines
265 B
SYSTEMD
Raw Normal View History

2020-09-07 14:17:33 +00:00
[Unit]
Description=Grafana Promtail (nginx)
Documentation=https://github.com/grafana/loki
After=network-online.target
[Service]
User=root
Restart=always
ExecStart=/usr/local/bin/promtail --config.file=/etc/promtail/nginx.yaml
[Install]
WantedBy=multi-user.target