mirror of
https://github.com/YunoHost-Apps/yunomonitor_ynh.git
synced 2024-09-03 17:46:11 +02:00
[enh] New upstream version
This commit is contained in:
parent
a7ad66b54b
commit
63a22e81e0
5 changed files with 15 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
SOURCE_URL=https://github.com/zamentur/yunomonitor/archive/1179406014cfefa7e88b55d2588d7442e58bbfde.tar.gz
|
SOURCE_URL=https://github.com/zamentur/yunomonitor/archive/760917c19346862e7f798cb69dde3a3d40e1b293.tar.gz
|
||||||
SOURCE_SUM=fe11ad1244627e13a58a26c28fddaff73b827d254a645ee65d1ef8eda8e544b9
|
SOURCE_SUM=261a0607b792cc5a89ea8987ee2176bbbe959cfd3245b14d0362622f82d94373
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=yunomonitor-1-0-3.tar.gz
|
SOURCE_FILENAME=yunomonitor-1-1-0.tar.gz
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Home made tool to monitor automatically your servers."
|
"en": "Home made tool to monitor automatically your servers."
|
||||||
},
|
},
|
||||||
"version": "1.0.3~ynh1",
|
"version": "1.1.0~ynh1",
|
||||||
"url": "https://github.com/zamentur/yunomonitor",
|
"url": "https://github.com/zamentur/yunomonitor",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="python3-yaml python3-dnspython python3-requests-toolbelt whois smartmontools"
|
pkg_dependencies="python3-yaml python3-dnspython python3-requests-toolbelt python3-spf whois smartmontools"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -121,6 +121,12 @@ sed -i 's/\[""\]/[]/g' $final_path/conf/$app.yml
|
||||||
# Calculate and store the config file checksum into the app settings
|
# Calculate and store the config file checksum into the app settings
|
||||||
ynh_store_file_checksum --file="$final_path/conf/$app.yml"
|
ynh_store_file_checksum --file="$final_path/conf/$app.yml"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# INIT IGNORE FILE
|
||||||
|
#=================================================
|
||||||
|
echo "method level server message target" > $final_path/conf/ignore_alert.csv
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -36,6 +36,10 @@ upgrade_type=$(ynh_check_app_version_changed)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1
|
ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1
|
||||||
|
|
||||||
|
if ! [ -f $final_path/conf/ignore_alert.csv ]; then
|
||||||
|
echo "method level server message target" > $final_path/conf/ignore_alert.csv
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue