itamae/cookbooks/prometheus/files/lib/systemd/system/promtail-snmp_exporter.service

13 lines
283 B
SYSTEMD
Raw Normal View History

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