mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-03-12 01:55:39 +00:00
ansible playbooks for retailor.io infrastructure
This commit is contained in:
13
roles/promtail/templates/promtail.service.j2
Normal file
13
roles/promtail/templates/promtail.service.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Promtail service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
ExecStart=/usr/local/bin/promtail -config.file /etc/promtail/config.yml --client.external-labels=hostname=%H
|
||||
Restart=on-failure
|
||||
RestartSec=20
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user