diff --git a/telegraf/entrypoint.sh b/telegraf/entrypoint.sh index 0578fb9..d65dd77 100755 --- a/telegraf/entrypoint.sh +++ b/telegraf/entrypoint.sh @@ -11,7 +11,13 @@ 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" + echo "env" env + echo " ############################## " + echo "ls /" + ls / + echo " ############################## " + exec setpriv --reuid telegraf --init-groups "$@" fi \ No newline at end of file