summaryrefslogtreecommitdiff
path: root/data/templates/telegraf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-12 08:58:42 +0200
committerChristian Poessinger <christian@poessinger.com>2022-09-12 08:59:53 +0200
commit252f9eda2b7c4c30aaf979d2435404d4e73a2c20 (patch)
tree0cf657768dd1b40de6564cbbed37c78cd7624bea /data/templates/telegraf
parentd2338b7f5b09d06d7e7f206ff7ddcf7edc6eaa0f (diff)
downloadvyos-1x-252f9eda2b7c4c30aaf979d2435404d4e73a2c20.tar.gz
vyos-1x-252f9eda2b7c4c30aaf979d2435404d4e73a2c20.zip
telegraf: T4617: add Restart=always to systemd unit
Diffstat (limited to 'data/templates/telegraf')
-rw-r--r--data/templates/telegraf/override.conf.j23
1 files changed, 2 insertions, 1 deletions
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