summaryrefslogtreecommitdiffstats
path: root/packaging/makeself
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpackaging/makeself/jobs/99-makeself.install.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/makeself/jobs/99-makeself.install.sh b/packaging/makeself/jobs/99-makeself.install.sh
index aa1acd100..2695e8eb4 100755
--- a/packaging/makeself/jobs/99-makeself.install.sh
+++ b/packaging/makeself/jobs/99-makeself.install.sh
@@ -47,6 +47,12 @@ EOF
run chmod 755 "${NETDATA_INSTALL_PATH}/bin/netdata"
# -----------------------------------------------------------------------------
+# the claiming script must be in the same directory as the netdata binary for web-based claiming to work
+
+run ln -s "${NETDATA_INSTALL_PATH}/bin/netdata-claim.sh" \
+ "${NETDATA_INSTALL_PATH}/bin/srv/netdata-claim.sh" || exit 1
+
+# -----------------------------------------------------------------------------
# copy the SSL/TLS configuration and certificates from the build system
run cp -a /etc/ssl "${NETDATA_INSTALL_PATH}/share/ssl"