Merge pull request 'promtail-housekeep' (#11) from promtail-housekeep into main

Reviewed-on: #11
This commit is contained in:
Kazuhiro MUSASHI 2024-04-01 08:10:45 +00:00
commit 335c0d4415
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
# 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