2020-03-01 11:28:28 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
2024-01-17 11:23:28 +01:00
|
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
2020-03-01 11:28:28 +01:00
|
|
|
#=================================================
|
2024-01-17 11:23:28 +01:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2020-03-01 11:28:28 +01:00
|
|
|
|
2020-11-27 10:49:00 +01:00
|
|
|
# Remove the dedicated NGINX config
|
2020-03-01 11:28:28 +01:00
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
2020-11-27 10:49:00 +01:00
|
|
|
# Remove the dedicated PHP-FPM config
|
2020-03-01 11:28:28 +01:00
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2020-11-27 10:49:00 +01:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|