Explorar el Código

try fix remove script

rodinux hace 1 año
padre
commit
ad5f815daf
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      scripts/remove

+ 2 - 1
scripts/remove

@@ -15,7 +15,6 @@ ynh_script_progression --message="Removing system configurations related to $app
 # need remove pinning
 ynh_secure_remove --file="/etc/apt/preferences.d/zabbix_repo"
 
-ynh_exec_warn_less yunohost user delete $zabbix_username --purge
 
 # Remove the dedicated systemd config
 ynh_systemd_action --service_name="$app-server" --action="stop" --log_path="/var/log/$app/${app}_server.log"
@@ -29,6 +28,8 @@ yunohost service remove snmpd
 yunohost service remove zabbix-server
 yunohost service remove zabbix-agent
 
+ynh_exec_warn_less yunohost user delete $zabbix_username --purge
+
 ynh_remove_nginx_config
 
 ynh_remove_fpm_config