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 #=================================================