Many fixes about variabilisation of the telegraf config for docker
This commit is contained in:
@@ -22,5 +22,5 @@ else
|
||||
# Allow telegraf to send ICMP packets and bind to privileged 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 telegraf --init-groups telegraf "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user