promtail-housekeep #11

Merged
kazu634 merged 2 commits from promtail-housekeep into main 2024-04-01 08:10:47 +00:00
2 changed files with 1 additions and 13 deletions

View File

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

View File

@ -1,12 +0,0 @@
[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