2016-12-21 18:46:36 +01:00
|
|
|
#!/bin/bash
|
2021-08-04 12:23:13 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
2016-12-21 18:46:36 +01:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2021-08-04 12:23:13 +02:00
|
|
|
#=================================================
|
2024-01-05 18:46:20 +01:00
|
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
2021-08-04 12:23:13 +02:00
|
|
|
#=================================================
|
2024-01-05 18:46:20 +01:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2021-08-04 12:23:13 +02:00
|
|
|
|
|
|
|
# Remove the dedicated NGINX config
|
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
# Remove the dedicated PHP-FPM config
|
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2021-08-04 13:17:27 +02:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|