This commit is contained in:
2022-06-18 22:08:36 +02:00
parent ea74b3999e
commit 7fda4f7f2e

View File

@@ -13,5 +13,5 @@ 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"
exec setpriv --reuid telegraf --init-groups "$@"
exec setpriv --reuid root --init-groups "$@"
fi