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:
parent
6c66452e7a
commit
354258a138
6 changed files with 5 additions and 5 deletions
|
@ -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.
|
A monitoring tool for diverse IT components, including networks, servers, VMs and cloud services.
|
||||||
|
|
||||||
**Shipped version:** 4.4~ynh3
|
**Shipped version:** 5.0~ynh1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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.
|
A monitoring tool for diverse IT components, including networks, servers, VMs and cloud services.
|
||||||
|
|
||||||
**Version incluse :** 4.4~ynh3
|
**Version incluse :** 5.0~ynh1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Monitoring tool for diverse IT components, including networks, servers, VMs and cloud services",
|
"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"
|
"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",
|
"url": "https://www.zabbix.com",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
|
|
|
@ -111,6 +111,7 @@ import_template () {
|
||||||
|
|
||||||
cp "$confUserPpath" /etc/zabbix/zabbix_agentd.d/userP_yunohost.conf
|
cp "$confUserPpath" /etc/zabbix/zabbix_agentd.d/userP_yunohost.conf
|
||||||
cp "$bashUserPpath" /etc/zabbix/zabbix_agentd.d/yunohost.sh
|
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
|
chmod a+x /etc/zabbix/zabbix_agentd.d/yunohost.sh
|
||||||
|
|
||||||
systemctl restart zabbix-agent
|
systemctl restart zabbix-agent
|
||||||
|
|
|
@ -63,7 +63,6 @@ ynh_script_progression --message="Installing dependencies..."
|
||||||
|
|
||||||
install_zabbix_repo
|
install_zabbix_repo
|
||||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
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
|
ynh_replace_string --match_string="# $language.UTF-8 UTF-8" --replace_string="$language.UTF-8 UTF-8" --target_file=/etc/locale.gen
|
||||||
locale-gen
|
locale-gen
|
||||||
|
|
|
@ -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)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||||
language=$(ynh_app_setting_get --app=$app --key=language)
|
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)
|
is_public=$(ynh_permission_has_user --permission=main --user=visitors && echo 1 || echo 0)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue