From a5677fc8b0af17573f4f54063f51d36549966c2b Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 10 Mar 2024 11:07:58 +0100 Subject: [PATCH] updated telegraf state --- states/telegraf/templates/telegraf.service.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/states/telegraf/templates/telegraf.service.j2 b/states/telegraf/templates/telegraf.service.j2 index 431cebe..800276e 100644 --- a/states/telegraf/templates/telegraf.service.j2 +++ b/states/telegraf/templates/telegraf.service.j2 @@ -1,13 +1,12 @@ {%- from "telegraf/map.jinja" import telegraf with context -%} ## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} [Unit] -Description=The plugin-driven server agent for reporting metrics into InfluxDB +Description=The plugin-driven server agent for reporting metrics Documentation=https://github.com/influxdata/telegraf After=network.target [Service] EnvironmentFile=-/etc/default/telegraf -#User=telegraf ExecStart=/usr/local/bin/telegraf --config /etc/telegraf/telegraf.conf ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure