Compare commits

..

No commits in common. "335c0d4415809e73ac7d0baa46df47678493a2ae" and "415d87c242e0e6de0ca8aaa921d022643afc060f" have entirely different histories.

2 changed files with 13 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Log kernel generated `consul-template` log messages to file
# Log kernel generated promtail log messages to file
:syslogtag,contains,"consul-template" /var/log/consul-template.log
# Uncomment the following to stop logging anything that matches the last rule.

View File

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