|
@@ -59,6 +59,14 @@ ynh_script_progression --message="Removing the MySQL database..."
|
|
|
# Remove a database if it exists, along with the associated user
|
|
# Remove a database if it exists, along with the associated user
|
|
|
ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name
|
|
ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name
|
|
|
|
|
|
|
|
|
|
+#=================================================
|
|
|
|
|
+# REMOVE NGINX CONFIGURATION
|
|
|
|
|
+#=================================================
|
|
|
|
|
+ynh_script_progression --message="Removing NGINX web server configuration..."
|
|
|
|
|
+
|
|
|
|
|
+# Remove the dedicated NGINX config
|
|
|
|
|
+ynh_remove_nginx_config
|
|
|
|
|
+
|
|
|
#=================================================
|
|
#=================================================
|
|
|
# REMOVE PHP-FPM CONFIGURATION
|
|
# REMOVE PHP-FPM CONFIGURATION
|
|
|
#=================================================
|
|
#=================================================
|
|
@@ -89,14 +97,6 @@ ynh_script_progression --message="Removing app main directory..."
|
|
|
ynh_secure_remove --file="$final_path"
|
|
ynh_secure_remove --file="$final_path"
|
|
|
ynh_secure_remove --file="/usr/share/$app"
|
|
ynh_secure_remove --file="/usr/share/$app"
|
|
|
|
|
|
|
|
-#=================================================
|
|
|
|
|
-# REMOVE NGINX CONFIGURATION
|
|
|
|
|
-#=================================================
|
|
|
|
|
-ynh_script_progression --message="Removing NGINX web server configuration..."
|
|
|
|
|
-
|
|
|
|
|
-# Remove the dedicated NGINX config
|
|
|
|
|
-ynh_remove_nginx_config
|
|
|
|
|
-
|
|
|
|
|
#=================================================
|
|
#=================================================
|
|
|
# SPECIFIC REMOVE
|
|
# SPECIFIC REMOVE
|
|
|
#=================================================
|
|
#=================================================
|