2019-03-08 21:18:22 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
2021-11-06 16:34:26 +01:00
|
|
|
ynh_script_progression --message="Removing NGINX web server configuration..."
|
2019-03-08 21:18:22 +01:00
|
|
|
|
2022-03-13 17:58:16 +01:00
|
|
|
# Remove the dedicated NGINX config
|
2019-03-08 21:18:22 +01:00
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE PHP-FPM CONFIGURATION
|
|
|
|
#=================================================
|
2021-11-06 16:34:26 +01:00
|
|
|
ynh_script_progression --message="Removing PHP-FPM configuration..."
|
2019-03-08 21:18:22 +01:00
|
|
|
|
2022-03-13 17:58:16 +01:00
|
|
|
# Remove the dedicated PHP-FPM config
|
2019-03-08 21:18:22 +01:00
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2020-11-01 19:01:41 +01:00
|
|
|
ynh_script_progression --message="Removal of $app completed"
|