2014-05-07 02:54:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-06-10 15:24:30 +02:00
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
2019-02-27 23:52:47 +01:00
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
2020-06-10 15:24:30 +02:00
|
|
|
|
2019-02-27 23:52:47 +01:00
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
2020-12-16 22:30:16 +01:00
|
|
|
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
|
2019-02-27 23:52:47 +01:00
|
|
|
|
2020-12-16 22:30:16 +01:00
|
|
|
# Remove the dedicated NGINX config
|
2019-02-27 23:52:47 +01:00
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE PHP-FPM CONFIGURATION
|
|
|
|
#=================================================
|
2020-12-16 22:30:16 +01:00
|
|
|
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
|
2019-02-27 23:52:47 +01:00
|
|
|
|
2020-12-16 22:30:16 +01:00
|
|
|
# Remove the dedicated PHP-FPM config
|
2019-02-27 23:52:47 +01:00
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
2020-06-10 15:24:30 +02:00
|
|
|
|
2019-07-27 22:09:37 +02:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|