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

Merge pull request #76 from YunoHost-Apps/enh_update_1.32.1

This commit is contained in:
JimboJoe 2021-12-29 20:29:29 +01:00 committed by GitHub
commit 41762d9359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 6 deletions

View file

@ -13,7 +13,7 @@ _netdata is **fast** and **efficient**, designed to permanently run on all syste
(**physical** & **virtual** servers, **containers**, **IoT** devices), without
disrupting their core function._
**Shipped version:** 1.31.0
**Shipped version:** 1.32.1
**Customization brought by the package:**

View file

@ -1,3 +1,3 @@
SOURCE_URL=https://github.com/netdata/netdata/releases/download/v1.31.0/netdata-v1.31.0.tar.gz
SOURCE_SUM=ca68f725224e8bbec041b493891376fbf41aedb47c4ac06161c2eda990089c9f
SOURCE_URL=https://github.com/netdata/netdata/releases/download/1.32.1/netdata-v1.32.1.tar.gz
SOURCE_SUM=ac406513e86ad24976a66146702aeac960e43908abc51d70e4a073905275d13e
SOURCE_FORMAT=tar.gz

View file

@ -6,7 +6,7 @@
"en": "Real-time performance and health monitoring",
"fr": "Monitoring serveur en temps reel"
},
"version": "1.31.0~ynh1",
"version": "1.32.1~ynh1",
"url": "http://my-netdata.io/",
"license": "GPL-3.0",
"maintainer": {

View file

@ -73,12 +73,21 @@ ynh_script_progression --message="Reinstalling Netdata..." --weight=18
# Download, check integrity, uncompress and patch the source from app.src
NETDATA_TMPDIR=$(mktemp -d)
ynh_setup_source "$NETDATA_TMPDIR"
ynh_setup_source --dest_dir="$NETDATA_TMPDIR"
# create a temporary file for the log
tmp=$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
# open fd 3 and send it to tmp
exec 3>${tmp}
# Launch netdata installation in /opt directory
cd $NETDATA_TMPDIR
./netdata-installer.sh --install /opt --dont-wait
./netdata-installer.sh --install /opt --dont-wait --disable-cloud >&3 2>&3 || ynh_die "FAILED TO COMPILE/INSTALL NETDATA"
# close fd 3
exec 3<&-
# Specific configuration
configure_netdata
#=================================================