summaryrefslogtreecommitdiff
path: root/data/templates/monitoring/override.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/monitoring/override.conf.tmpl')
-rw-r--r--data/templates/monitoring/override.conf.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/monitoring/override.conf.tmpl b/data/templates/monitoring/override.conf.tmpl
new file mode 100644
index 000000000..63f6d7391
--- /dev/null
+++ b/data/templates/monitoring/override.conf.tmpl
@@ -0,0 +1,7 @@
+[Unit]
+After=vyos-router.service
+ConditionPathExists=/run/telegraf/vyos-telegraf.conf
+[Service]
+Environment=INFLUX_TOKEN={{ authentication.token }}
+CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN
+AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN