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

51 lines
1.6 KiB
Text
Raw Normal View History

2013-12-19 03:02:51 +01:00
#!/bin/bash
2018-06-25 05:57:41 +02:00
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE LOGROTATE CONFIGURATION
#=================================================
ynh_script_progression --message="Removing logrotate configuration..."
# Remove the app-specific logrotate config
ynh_remove_logrotate
2018-06-25 05:57:41 +02:00
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================
2020-11-24 18:00:33 +01:00
ynh_script_progression --message="Removing NGINX web server configuration..."
2018-06-25 05:57:41 +02:00
2020-11-24 18:00:33 +01:00
# Remove the dedicated NGINX config
2018-06-25 05:57:41 +02:00
ynh_remove_nginx_config
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
2020-11-24 18:00:33 +01:00
ynh_script_progression --message="Removing PHP-FPM configuration..."
2018-06-25 05:57:41 +02:00
2020-11-24 18:00:33 +01:00
# Remove the dedicated PHP-FPM config
2018-06-25 05:57:41 +02:00
ynh_remove_fpm_config
2017-02-26 18:10:35 +01:00
2018-09-27 22:44:34 +02:00
#=================================================
# REMOVE FAIL2BAN CONFIGURATION
#=================================================
2020-11-24 18:00:33 +01:00
ynh_script_progression --message="Removing Fail2Ban configuration..."
# Remove the dedicated Fail2Ban config
2018-09-27 22:44:34 +02:00
ynh_remove_fail2ban_config
#=================================================
# END OF SCRIPT
#=================================================
2020-11-11 14:06:42 +01:00
ynh_script_progression --message="Removal of $app completed"