Explorar o código

Update remove

yalh76 %!s(int64=4) %!d(string=hai) anos
pai
achega
73b4cdf3fa
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      scripts/remove

+ 4 - 4
scripts/remove

@@ -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