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
|
|
|
#=================================================
|
2023-11-23 09:47:20 +01:00
|
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
2020-11-02 12:24:37 +01:00
|
|
|
#=================================================
|
2023-11-23 09:47:20 +01:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2020-11-02 12:24:37 +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-02-01 19:57:02 +01:00
|
|
|
|
2020-11-02 12:24:37 +01:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|