2017-02-01 19:57:02 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-11-02 12:24:37 +01:00
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
2017-02-01 19:57:02 +01:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2020-11-02 12:24:37 +01:00
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
|
|
|
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
|
|
|
|
|
|
|
|
# Remove the dedicated NGINX config
|
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
# Remove the dedicated PHP-FPM config
|
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
2017-02-01 19:57:02 +01:00
|
|
|
|
2020-11-02 12:24:37 +01:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|