From 252f9eda2b7c4c30aaf979d2435404d4e73a2c20 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 12 Sep 2022 08:58:42 +0200 Subject: telegraf: T4617: add Restart=always to systemd unit --- data/templates/telegraf/override.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data/templates/telegraf') diff --git a/data/templates/telegraf/override.conf.j2 b/data/templates/telegraf/override.conf.j2 index d30bb19de..7e3e4aaf5 100644 --- a/data/templates/telegraf/override.conf.j2 +++ b/data/templates/telegraf/override.conf.j2 @@ -12,4 +12,5 @@ EnvironmentFile= Environment=INFLUX_TOKEN={{ influxdb.authentication.token }} CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN CAP_SYS_ADMIN CAP_BPF CAP_DAC_OVERRIDE AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN - +Restart=always +RestartSec=10 -- cgit v1.2.3