diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-09-12 08:58:42 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-09-12 08:59:53 +0200 |
commit | 252f9eda2b7c4c30aaf979d2435404d4e73a2c20 (patch) | |
tree | 0cf657768dd1b40de6564cbbed37c78cd7624bea /data/templates/telegraf/override.conf.j2 | |
parent | d2338b7f5b09d06d7e7f206ff7ddcf7edc6eaa0f (diff) | |
download | vyos-1x-252f9eda2b7c4c30aaf979d2435404d4e73a2c20.tar.gz vyos-1x-252f9eda2b7c4c30aaf979d2435404d4e73a2c20.zip |
telegraf: T4617: add Restart=always to systemd unit
Diffstat (limited to 'data/templates/telegraf/override.conf.j2')
-rw-r--r-- | data/templates/telegraf/override.conf.j2 | 3 |
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 |