2015-01-05 16:31:39 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-05-24 04:21:43 +02:00
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
2020-11-13 19:04:02 +01:00
|
|
|
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=2
|
2019-05-24 04:21:43 +02:00
|
|
|
|
2020-11-13 19:04:02 +01:00
|
|
|
# Remove the dedicated NGINX config
|
2019-05-24 04:21:43 +02:00
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE PHP-FPM CONFIGURATION
|
|
|
|
#=================================================
|
2020-11-13 19:04:02 +01:00
|
|
|
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
|
2019-05-24 04:21:43 +02:00
|
|
|
|
2020-11-13 19:04:02 +01:00
|
|
|
# Remove the dedicated PHP-FPM config
|
2019-05-24 04:21:43 +02:00
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
2015-01-05 16:31:39 +01:00
|
|
|
|
2019-05-24 11:23:08 +02:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|