0
0
mirror of https://github.com/netdata/netdata.git synced 2024-11-24 08:26:54 +00:00
netdata_netdata/packaging/makeself/jobs/90-netdata-runtime-check.sh
Austin S. Hemmelgarn 16750eacdf
Remove logs-management plugin. (#18186)
It’s not been supported properly pretty much since it was introduced.
2024-07-17 07:04:55 -04:00

25 lines
628 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# shellcheck source=./packaging/makeself/functions.sh
. "${NETDATA_MAKESELF_PATH}"/functions.sh "${@}" || exit 1
dump_log() {
cat ./netdata.log
}
trap dump_log EXIT
export NETDATA_LIBEXEC_PREFIX="${NETDATA_INSTALL_PATH}/usr/libexec/netdata"
export NETDATA_SKIP_LIBEXEC_PARTS="freeipmi|xenstat|cups"
if [ "$(uname -m)" != "x86_64" ]; then
export NETDATA_SKIP_LIBEXEC_PARTS="${NETDATA_SKIP_LIBEXEC_PARTS}|ebpf"
fi
"${NETDATA_INSTALL_PATH}/bin/netdata" -D > ./netdata.log 2>&1 &
"${NETDATA_SOURCE_PATH}/packaging/runtime-check.sh" || exit 1
trap - EXIT