From 444a5681e2398b7bd498fea0289aab601a675918 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 30 Jul 2022 01:12:23 +0200 Subject: [PATCH] Fix removal --- scripts/remove | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/remove b/scripts/remove index 6053e20..55a5160 100755 --- a/scripts/remove +++ b/scripts/remove @@ -61,6 +61,15 @@ ynh_script_progression --message="Removing PHP-FPM configuration..." # Remove the dedicated PHP-FPM config ynh_remove_fpm_config +#================================================= +# REMOVE VARIOUS FILES +#================================================= +ynh_script_progression --message="Removing various files..." + +# Remove a directory securely +ynh_secure_remove --file="/etc/gemserv/config.d/$domain.toml" +ynh_systemd_action --service_name=gemserv --action=reload + #================================================= # REMOVE DEPENDENCIES #================================================= @@ -72,15 +81,6 @@ ynh_remove_apps #================================================= # SPECIFIC REMOVE -#================================================= -# REMOVE VARIOUS FILES -#================================================= -ynh_script_progression --message="Removing various files..." - -# Remove a directory securely -ynh_secure_remove --file="/etc/gemserv/config.d/$domain.toml" -ynh_systemd_action --service_name=gemserv --action=reload - #================================================= # GENERIC FINALIZATION #=================================================