From 7c71e956e8e1779acd82b130ea149ec761520953 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 1 May 2022 19:15:31 +0200 Subject: telegraf: T4353: fix Jinja2 linting errors --- data/templates/monitoring/override.conf.j2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/templates/monitoring/override.conf.j2 (limited to 'data/templates/monitoring/override.conf.j2') diff --git a/data/templates/monitoring/override.conf.j2 b/data/templates/monitoring/override.conf.j2 new file mode 100644 index 000000000..f8f150791 --- /dev/null +++ b/data/templates/monitoring/override.conf.j2 @@ -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 CAP_SYS_ADMIN +AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN -- cgit v1.2.3