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

Update remove (delete duplicate reload causing crash php-fpm )

This commit is contained in:
Mickael-Martin 2019-03-29 17:17:06 +01:00
parent 1b582df242
commit e8e94fee55

View file

@ -36,10 +36,6 @@ yunohost service remove zabbix-agent
# Remove the dedicated php-fpm config # Remove the dedicated php-fpm config
ynh_remove_fpm_config ynh_remove_fpm_config
systemctl reload php7.0-fpm
#sometimes php7.0-fpm crash on removing conf...
systemctl start php7.0-fpm
#================================================= #=================================================
# REMOVE DEPENDENCIES # REMOVE DEPENDENCIES
@ -53,7 +49,6 @@ timeout 5 systemctl stop zabbix-agent || killall zabbix_agentd
systemctl disable zabbix-agent systemctl disable zabbix-agent
killall zabbix_agentd killall zabbix_agentd
ynh_remove_app_dependencies ynh_remove_app_dependencies
#================================================= #=================================================
@ -70,12 +65,6 @@ ynh_mysql_remove_db "$db_user" "$db_name"
# Remove the dedicated nginx config # Remove the dedicated nginx config
ynh_remove_nginx_config ynh_remove_nginx_config
#=================================================
# RELOAD NGINX
#=================================================
systemctl reload nginx
#================================================= #=================================================
# REMOVE LOGROTATE CONFIGURATION # REMOVE LOGROTATE CONFIGURATION
#================================================= #=================================================