This commit is contained in:
2022-06-18 20:12:41 +02:00
parent 1a90cc5a4a
commit 79f92ff520
4 changed files with 94 additions and 17 deletions

View File

@@ -11,22 +11,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"
echo "env"
env
echo " ############################## "
echo "ls /"
ls /
echo " ############################## "
echo "find /config"
find /config
echo " ############################## "
echo "find /addons"
find /addons
echo " ############################## "
exec setpriv --reuid telegraf --init-groups "$@"
fi