This commit is contained in:
2022-06-18 19:22:06 +02:00
parent 0713acf79a
commit a1113f8d45

View File

@@ -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