Merge pull request 'promtail-housekeep' (#11) from promtail-housekeep into main
Reviewed-on: #11
This commit is contained in:
commit
335c0d4415
|
@ -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.
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue