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

31 lines
867 B
Text
Raw Normal View History

2019-06-30 19:52:29 +02:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
2023-09-26 10:29:33 +02:00
# REMOVE SYSTEM CONFIGURATIONS
2019-06-30 19:52:29 +02:00
#=================================================
2023-09-26 10:29:33 +02:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2019-06-30 19:52:29 +02:00
2022-03-23 03:07:00 +01:00
# Remove the dedicated NGINX config
2019-06-30 19:52:29 +02:00
ynh_remove_nginx_config
2022-03-23 03:07:00 +01:00
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
2019-06-30 19:52:29 +02:00
2022-03-23 03:07:00 +01:00
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"
2019-06-30 19:52:29 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2022-10-05 22:36:43 +02:00
ynh_script_progression --message="Removal of $app completed" --last