mirror of
https://github.com/YunoHost-Apps/netdata_ynh.git
synced 2024-09-03 19:46:33 +02:00
Merge pull request #77 from YunoHost-Apps/testing
This commit is contained in:
commit
55beefe40c
4 changed files with 15 additions and 6 deletions
|
@ -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:**
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue