2022-05-22 20:54:12 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
2023-09-10 18:42:25 +02:00
|
|
|
# REMOVE CONFIGURATION
|
2022-05-22 20:54:12 +02:00
|
|
|
#=================================================
|
2024-08-31 03:06:04 +02:00
|
|
|
ynh_script_progression "Removing system configurations related to $app..."
|
2022-05-22 20:54:12 +02:00
|
|
|
|
|
|
|
# Remove the app-specific logrotate config
|
2024-08-31 03:06:04 +02:00
|
|
|
ynh_config_remove_logrotate
|
2022-05-22 20:54:12 +02:00
|
|
|
|
|
|
|
# Remove the dedicated NGINX config
|
2024-08-31 03:06:04 +02:00
|
|
|
ynh_config_remove_nginx
|
2022-05-22 20:54:12 +02:00
|
|
|
|
|
|
|
# Remove the dedicated PHP-FPM config
|
2024-08-31 03:06:04 +02:00
|
|
|
ynh_config_remove_phpfpm
|
2022-05-22 20:54:12 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2024-08-31 03:06:04 +02:00
|
|
|
ynh_script_progression "Removal of $app completed"
|