0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-10 16:17:36 +00:00

fix claiming via UI for static build ()

This commit is contained in:
Ilya Mashchenko 2023-08-09 13:45:07 +03:00 committed by GitHub
parent b18cfaed9c
commit 8d5e5399de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,12 @@ exec "${NETDATA_INSTALL_PATH}/bin/srv/netdata" "\${@}"
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