2017-03-11 19:25:55 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-11-26 10:48:51 +01:00
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
2017-03-11 19:25:55 +01:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2021-11-26 10:48:51 +01:00
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
2022-03-29 09:56:16 +02:00
|
|
|
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
|
2021-11-26 10:48:51 +01:00
|
|
|
|
|
|
|
# Remove the dedicated NGINX config
|
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
# Remove the dedicated PHP-FPM config
|
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
2017-03-11 19:25:55 +01:00
|
|
|
|
2022-03-29 10:08:14 +02:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|