summaryrefslogtreecommitdiffstats
path: root/packaging/docker/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/docker/run.sh')
-rwxr-xr-xpackaging/docker/run.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/packaging/docker/run.sh b/packaging/docker/run.sh
index 6ba16d1ce..56a818d2f 100755
--- a/packaging/docker/run.sh
+++ b/packaging/docker/run.sh
@@ -110,14 +110,4 @@ if [ -w "/etc/netdata" ]; then
fi
fi
-if [ -n "${NETDATA_CLAIM_URL}" ] && [ -n "${NETDATA_CLAIM_TOKEN}" ] && [ ! -f /var/lib/netdata/cloud.d/claimed_id ]; then
- # shellcheck disable=SC2086
- /usr/sbin/netdata-claim.sh -token="${NETDATA_CLAIM_TOKEN}" \
- -url="${NETDATA_CLAIM_URL}" \
- ${NETDATA_CLAIM_ROOMS:+-rooms="${NETDATA_CLAIM_ROOMS}"} \
- ${NETDATA_CLAIM_PROXY:+-proxy="${NETDATA_CLAIM_PROXY}"} \
- ${NETDATA_EXTRA_CLAIM_OPTS} \
- -daemon-not-running
-fi
-
exec /usr/sbin/netdata -u "${DOCKER_USR}" -D -s /host -p "${NETDATA_LISTENER_PORT}" "$@"