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

This commit is contained in:
yalh76 2021-08-14 23:07:29 +02:00
parent 69e07727dc
commit 73b4cdf3fa

View file

@ -38,13 +38,13 @@ yunohost service remove zabbix-agent
ynh_script_progression --message="Stopping and removing the systemd service..."
# Remove the dedicated systemd config
timeout 5 systemctl stop zabbix-server || killall zabbix_server
timeout 5 systemctl stop zabbix-server || killall zabbix-server
systemctl disable zabbix-server --quiet
killall zabbix_server
killall zabbix-server
timeout 5 systemctl stop zabbix-agent || killall zabbix_agentd
timeout 5 systemctl stop zabbix-agent || killall zabbix-agentd
systemctl disable zabbix-agent --quiet
killall zabbix_agentd
killall zabbix-agentd
#=================================================
# REMOVE THE MYSQL DATABASE