@cryptotaxi247 / netdata-1 / commits / 8d5e5399d

fix claiming via UI for static build (#15774)

Ilya Mashchenko committed Aug 9, 2023 at 13:45 UTC 8d5e5399ded7a28a4f2a9f8dffba93b2650241e0
1 file changed +6
packaging/makeself/jobs/99-makeself.install.sh
+6
@@ -46,6 +46,12 @@ exec "${NETDATA_INSTALL_PATH}/bin/srv/netdata" "\${@}"
46 EOF
47 run chmod 755 "${NETDATA_INSTALL_PATH}/bin/netdata"
48
49 +# -----------------------------------------------------------------------------
50 +# the claiming script must be in the same directory as the netdata binary for web-based claiming to work
51 +
52 +run ln -s "${NETDATA_INSTALL_PATH}/bin/netdata-claim.sh" \
53 + "${NETDATA_INSTALL_PATH}/bin/srv/netdata-claim.sh" || exit 1
54 +
55 # -----------------------------------------------------------------------------
56 # copy the SSL/TLS configuration and certificates from the build system
57