2014-05-08 19:46:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
2014-05-08 19:46:08 +02:00
|
|
|
|
2018-06-27 17:21:59 +02:00
|
|
|
source _common.sh
|
2017-06-25 00:56:50 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
2014-05-08 19:46:08 +02:00
|
|
|
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
2024-08-29 10:04:19 +02:00
|
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
2024-08-29 10:04:19 +02:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2018-06-27 17:21:59 +02:00
|
|
|
|
|
|
|
# Remove the dedicated nginx config
|
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
# Remove the dedicated php-fpm config
|
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
2020-04-26 00:47:07 +02:00
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
2017-06-25 00:56:50 +02:00
|
|
|
|
2021-07-10 12:49:55 +02:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|