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

34 lines
926 B
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
#=================================================
2023-11-15 11:22:56 +01:00
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
2023-11-15 11:22:56 +01:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
# Remove the app-specific logrotate config
ynh_remove_logrotate
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
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
# 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"