mirror of
https://github.com/netdata/netdata.git
synced 2024-11-24 08:26:54 +00:00
16750eacdf
It’s not been supported properly pretty much since it was introduced.
25 lines
628 B
Bash
Executable File
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
|