Kaynağa Gözat

Update remove

DeMiro5001 6 ay önce
ebeveyn
işleme
0d83e7f839
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  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