mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
cleaning
This commit is contained in:
parent
6289ee44af
commit
c4c65397a3
4 changed files with 4 additions and 11 deletions
|
@ -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]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue