itamae/cookbooks/vector/files/etc/systemd/system/promtail-vector-syslog.service

13 lines
258 B
SYSTEMD

[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/syslog.yaml
[Install]
WantedBy=multi-user.target