1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/X-prober_ynh.git synced 2024-09-03 20:36:04 +02:00
x-prober_ynh/scripts/remove

33 lines
1,006 B
Text
Raw Normal View History

2022-03-17 23:50:38 +01:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================
2022-03-19 09:07:07 +01:00
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
2022-03-17 23:50:38 +01:00
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
2022-03-19 09:07:07 +01:00
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
2022-03-17 23:50:38 +01:00
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
#=================================================
# END OF SCRIPT
#=================================================
2022-03-19 09:07:07 +01:00
ynh_script_progression --message="Removal of $app completed" --last