2017-07-01 19:54:37 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-08-01 11:29:01 +02:00
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
2017-07-05 12:28:42 +02:00
|
|
|
|
2017-08-01 11:29:01 +02:00
|
|
|
source _common.sh
|
2017-07-01 19:54:37 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2017-08-01 11:29:01 +02:00
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
2020-10-16 11:21:00 +02:00
|
|
|
ynh_script_progression --message="Removing NGINX web server configuration..."
|
2017-07-01 19:54:37 +02:00
|
|
|
|
2020-10-16 11:21:00 +02:00
|
|
|
# Remove the dedicated NGINX config
|
2017-08-01 11:29:01 +02:00
|
|
|
ynh_remove_nginx_config
|
2017-07-01 19:54:37 +02:00
|
|
|
|
2018-09-01 18:12:10 +02:00
|
|
|
#=================================================
|
|
|
|
# REMOVE PHP-FPM CONFIGURATION
|
|
|
|
#=================================================
|
2020-10-16 11:21:00 +02:00
|
|
|
ynh_script_progression --message="Removing PHP-FPM configuration"
|
2018-09-01 18:12:10 +02:00
|
|
|
|
2020-10-16 11:21:00 +02:00
|
|
|
# Remove the dedicated PHP-FPM config
|
2018-09-01 18:12:10 +02:00
|
|
|
ynh_remove_fpm_config
|
2017-07-01 19:54:37 +02:00
|
|
|
|
2019-04-06 20:29:15 +02:00
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2020-10-16 11:21:00 +02:00
|
|
|
ynh_script_progression --message="Removal of $app completed"
|