1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/netdata_ynh.git synced 2024-09-03 19:46:33 +02:00

fix install

This commit is contained in:
Kayou 2024-07-03 09:45:28 +02:00 committed by GitHub
parent 387c82d46a
commit f1b88a641a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View file

@ -28,7 +28,10 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
pushd "$NETDATA_TMPDIR"
# the installer.sh script will append "netdata" after the --install-prefix arg
./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel >"$tmplog" 2>"$tmplog" || ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
if !./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then
tail -n50 $tmplog
ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
fi
popd
# Specific configuration

View file

@ -33,7 +33,10 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
pushd "$NETDATA_TMPDIR"
# the installer.sh script will append "netdata" after the --install-prefix arg
./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel >"$tmplog" 2>"$tmplog" || ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
if !./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then
tail -n50 $tmplog
ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
fi
popd
# Specific configuration

View file

@ -38,7 +38,10 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
pushd "$NETDATA_TMPDIR"
# the installer.sh script will append "netdata" after the --install-prefix arg
./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud >"$tmplog" 2>"$tmplog" || ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
if !./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then
tail -n50 $tmplog
ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
fi
popd
# Specific configuration