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:
parent
387c82d46a
commit
f1b88a641a
3 changed files with 12 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue