1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00
firefly-iii_ynh/scripts/remove

43 lines
1.3 KiB
Text
Raw Normal View History

2018-06-17 00:50:26 +02:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================
2020-11-29 09:59:46 +01:00
ynh_script_progression --message="Removing NGINX web server configuration..."
2018-06-17 00:50:26 +02:00
2020-11-29 09:59:46 +01:00
# Remove the dedicated NGINX config
2018-06-17 00:50:26 +02:00
ynh_remove_nginx_config
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
2020-11-29 09:59:46 +01:00
ynh_script_progression --message="Removing PHP-FPM configuration..."
2018-06-17 00:50:26 +02:00
2020-11-29 09:59:46 +01:00
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
2018-06-17 00:50:26 +02:00
#=================================================
# SPECIFIC REMOVE
#=================================================
2022-07-19 02:18:21 +02:00
# REMOVE VARIOUS FILES
#=================================================
2022-07-19 02:18:21 +02:00
ynh_script_progression --message="Removing various files..."
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"
#=================================================
# END OF SCRIPT
#=================================================
2022-07-19 02:18:21 +02:00
ynh_script_progression --message="Removal of $app completed"