2017-02-13 22:48:20 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-03-09 03:00:02 +01:00
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
2017-02-13 22:48:20 +01:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2022-03-09 03:00:02 +01:00
|
|
|
#=================================================
|
2024-01-16 22:52:20 +01:00
|
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
2022-03-09 03:00:02 +01:00
|
|
|
#=================================================
|
2024-01-16 22:52:20 +01:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2022-03-09 03:00:02 +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-13 22:48:20 +01:00
|
|
|
|
2022-03-09 03:00:02 +01:00
|
|
|
ynh_script_progression --message="Removal of $app completed"
|