From 56c9929a648f25f480b59e13c03e2074f78eb280 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 13 Mar 2022 21:29:35 +0100 Subject: [PATCH] setting up remove script --- scripts/remove | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/scripts/remove b/scripts/remove index 367e0c5..3e619f6 100755 --- a/scripts/remove +++ b/scripts/remove @@ -44,12 +44,12 @@ ynh_script_progression --message="Stopping and removing the systemd service..." ynh_remove_systemd_config #================================================= -# REMOVE THE MYSQL DATABASE +# REMOVE THE POSTGRESQL DATABASE #================================================= -ynh_script_progression --message="Removing the MySQL database..." --time --weight=1 +ynh_script_progression --message="Removing the PostgreSQL database..." # Remove a database if it exists, along with the associated user -ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name +ynh_psql_remove_db --db_user=$db_user --db_name=$db_name #================================================= # REMOVE DEPENDENCIES @@ -75,14 +75,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." -- # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# REMOVE PHP-FPM CONFIGURATION -#================================================= -ynh_script_progression --message="Removing PHP-FPM configuration..." --time --weight=1 - -# Remove the dedicated PHP-FPM config -ynh_remove_fpm_config - #================================================= # REMOVE LOGROTATE CONFIGURATION #=================================================