2018-04-23 22:40:01 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
2024-01-03 21:39:54 +01:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2018-04-23 22:40:01 +02:00
|
|
|
|
2022-06-26 18:01:41 +02:00
|
|
|
# Remove the dedicated NGINX config
|
2018-04-23 22:40:01 +02:00
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
2022-06-26 18:01:41 +02:00
|
|
|
# Remove the dedicated PHP-FPM config
|
2018-04-23 22:40:01 +02:00
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
2019-06-01 19:22:51 +02:00
|
|
|
# END OF SCRIPT
|
2018-04-23 22:40:01 +02:00
|
|
|
#=================================================
|
|
|
|
|
2019-06-01 19:22:51 +02:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|