From a1113f8d453138184a09508c312c96cf88612807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Bonelle?= Date: Sat, 18 Jun 2022 19:22:06 +0200 Subject: [PATCH] Fix --- telegraf/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telegraf/entrypoint.sh b/telegraf/entrypoint.sh index b2d29dd..0578fb9 100755 --- a/telegraf/entrypoint.sh +++ b/telegraf/entrypoint.sh @@ -11,5 +11,7 @@ else # Allow telegraf to send ICMP packets and bind to privliged ports setcap cap_net_raw,cap_net_bind_service+ep /usr/bin/telegraf || echo "Failed to set additional capabilities on /usr/bin/telegraf" + env + exec setpriv --reuid telegraf --init-groups "$@" fi \ No newline at end of file