mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Merge branch '1.2' into 'master'
1.2 See merge request Mickael-Martin/zabbix_ynh!11
This commit is contained in:
commit
026686ffc0
2 changed files with 6 additions and 2 deletions
|
@ -347,7 +347,8 @@ systemctl enable zabbix-server && systemctl start zabbix-server
|
|||
### - And the section "SETUP LOGROTATE" in the upgrade script
|
||||
|
||||
# Use logrotate to manage application logfile(s)
|
||||
ynh_use_logrotate
|
||||
#native logrotate because install officials packages.
|
||||
#ynh_use_logrotate
|
||||
|
||||
#=================================================
|
||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||
|
|
|
@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
trustedversion="4.0.3-1+stretch"
|
||||
trustedversion="1:4.0.4-1+stretch"
|
||||
domain=$(ynh_app_setting_get $app domain)
|
||||
path_url=$(ynh_app_setting_get $app path)
|
||||
admin=$(ynh_app_setting_get $app admin)
|
||||
|
@ -94,6 +94,9 @@ path_url=$(ynh_normalize_url_path $path_url)
|
|||
|
||||
ynh_package_update
|
||||
|
||||
#REMOVE DUPLICATE LOG ENTRY IN LOGROTATE PATCH IF NEEDED
|
||||
ynh_remove_logrotate
|
||||
|
||||
zabbixServerInstalledVersion=$(apt-cache policy zabbix-server-mysql | grep -Po "Installed: \K(.*)")
|
||||
zabbixServerCandidateVersion=$(apt-cache policy zabbix-server-mysql | grep -Po "Candidate: \K(.*)")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue