1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00
This commit is contained in:
Éric Gaspar 2024-08-31 15:51:48 +02:00 committed by Josué Tille
parent 6289ee44af
commit c4c65397a3
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
4 changed files with 4 additions and 11 deletions

View file

@ -20,7 +20,7 @@ code = "https://github.com/mikaku/Monitorix"
cpe = "cpe:2.3:a:fibranet:monitorix"
[integration]
yunohost = ">= 11.2.18"
yunohost = ">= 11.2.29"
helpers_version = "2.1"
architectures = "all"
multi_instance = false
@ -54,7 +54,6 @@ ram.runtime = "50M"
[resources.install_dir]
group = "www-data:r-x"
owner = "__APP__:rwx"
group = "www-data:rx"
[resources.data_dir]

View file

@ -1,6 +1,5 @@
#!/bin/bash
# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh
source ../settings/scripts/experimental_helper.sh
source /usr/share/yunohost/helpers

View file

@ -1,6 +1,5 @@
#!/bin/bash
# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh
source ../settings/scripts/experimental_helper.sh
source /usr/share/yunohost/helpers

View file

@ -34,14 +34,10 @@ ynh_systemctl --service="$app" --action=stop
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
# FIXME: this is still supported but the recommendation is now to *always* re-setup the app sources wether or not the upstream sources changed
if ynh_app_upstream_version_changed
then
ynh_script_progression "Upgrading source files..."
ynh_script_progression "Upgrading source files..."
# Download, check integrity, uncompress and patch the source from manifest.toml
install_monitorix_package
fi
# Download, check integrity, uncompress and patch the source from manifest.toml
install_monitorix_package
ynh_systemctl --service="$app" --action=stop --log_path=systemd --timeout=15