diff --git a/scripts/install b/scripts/install index c57b44e..21525bc 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 4b14181..7c1cce4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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(.*)")