DeMiro5001 6 mesi fa
parent
commit
0d83e7f839
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      scripts/remove

+ 5 - 0
scripts/remove

@@ -12,6 +12,11 @@ source /usr/share/yunohost/helpers
 #=================================================
 ynh_script_progression "Removing system configurations related to $app..."
 
+if ynh_hide_warnings yunohost service status "$app" >/dev/null; then
+    yunohost service remove "$app"
+fi
+ynh_config_remove_systemd
+
 #ynh_config_remove_fail2ban
 
 ynh_config_remove_logrotate