easyappointments_ynh/scripts/remove

30 lines
878 B
Text
Raw Permalink Normal View History

2021-08-13 15:48:24 +03:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
2023-09-10 10:02:49 +03:00
# REMOVE SYSTEM CONFIGURATIONS
2021-08-13 15:48:24 +03:00
#=================================================
2023-09-10 10:02:49 +03:00
# REMOVE SYSTEMD SERVICE
2021-08-13 15:48:24 +03:00
#=================================================
2023-09-10 10:02:49 +03:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2021-08-13 15:48:24 +03:00
# Remove the dedicated NGINX config
ynh_remove_nginx_config
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Removal of $app completed" --last