From fff2fd41b7850a80bcfa549375e4fe9f15d66cd1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 22 Aug 2021 14:29:38 +0200 Subject: [PATCH] Update remove --- scripts/remove | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/remove b/scripts/remove index ab3109a..fb4a03e 100755 --- a/scripts/remove +++ b/scripts/remove @@ -60,6 +60,14 @@ ynh_remove_systemd_config --service=$app-ui ynh_remove_systemd_config --service=$app-iframely ynh_remove_systemd_config --service=$app-pict-rs +#================================================= +# REMOVE LOGROTATE CONFIGURATION +#================================================= +ynh_script_progression --message="Removing logrotate configuration..." + +# Remove the app-specific logrotate config +ynh_remove_logrotate + #================================================= # REMOVE THE POSTGRESQL DATABASE #================================================= @@ -109,14 +117,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# REMOVE LOGROTATE CONFIGURATION -#================================================= -ynh_script_progression --message="Removing logrotate configuration..." - -# Remove the app-specific logrotate config -ynh_remove_logrotate - #================================================= # SPECIFIC REMOVE #=================================================