1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

Upgrade to 5.0~ynh1

This commit is contained in:
yalh76 2022-01-22 00:41:07 +01:00
parent 6c66452e7a
commit 354258a138
6 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
A monitoring tool for diverse IT components, including networks, servers, VMs and cloud services.
**Shipped version:** 4.4~ynh3
**Shipped version:** 5.0~ynh1

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
A monitoring tool for diverse IT components, including networks, servers, VMs and cloud services.
**Version incluse :** 4.4~ynh3
**Version incluse :** 5.0~ynh1

View file

@ -6,7 +6,7 @@
"en": "Monitoring tool for diverse IT components, including networks, servers, VMs and cloud services",
"fr": "Outil pour monitorer des réseaux, des serveurs, des VMs et autres services en ligne"
},
"version": "4.4~ynh3",
"version": "5.0~ynh1",
"url": "https://www.zabbix.com",
"upstream": {
"license": "GPL-2.0-or-later",

View file

@ -111,6 +111,7 @@ import_template () {
cp "$confUserPpath" /etc/zabbix/zabbix_agentd.d/userP_yunohost.conf
cp "$bashUserPpath" /etc/zabbix/zabbix_agentd.d/yunohost.sh
chown -R $app:$app "/etc/zabbix/zabbix_agentd.d/"
chmod a+x /etc/zabbix/zabbix_agentd.d/yunohost.sh
systemctl restart zabbix-agent

View file

@ -63,7 +63,6 @@ ynh_script_progression --message="Installing dependencies..."
install_zabbix_repo
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
dpkg -i --force-confmiss /var/cache/apt/archives/zabbix-server-mysql*
ynh_replace_string --match_string="# $language.UTF-8 UTF-8" --replace_string="$language.UTF-8 UTF-8" --target_file=/etc/locale.gen
locale-gen

View file

@ -24,7 +24,7 @@ db_user=$(ynh_app_setting_get --app=$app --key=db_user)
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
language=$(ynh_app_setting_get --app=$app --key=language)
trustedversion="4.4-1+stretch"
trustedversion="5.0-1+stretch"
is_public=$(ynh_permission_has_user --permission=main --user=visitors && echo 1 || echo 0)
#=================================================