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

31 lines
867 B
Text
Raw Permalink Normal View History

2020-05-02 10:17:12 +02:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
2024-01-05 23:51:07 +01:00
# REMOVE SYSTEM CONFIGURATIONS
2020-05-02 10:17:12 +02:00
#=================================================
2024-01-05 23:51:07 +01:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2020-05-02 10:17:12 +02:00
2021-05-16 15:47:40 +02:00
# Remove the dedicated NGINX config
2020-05-02 10:17:12 +02:00
ynh_remove_nginx_config
2021-05-16 15:47:40 +02:00
# Remove the dedicated PHP-FPM config
2020-05-03 12:03:47 +02:00
ynh_remove_fpm_config
2020-05-02 10:17:12 +02:00
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"
#=================================================
# END OF SCRIPT
#=================================================
2022-09-01 02:13:26 +02:00
ynh_script_progression --message="Removal of $app completed" --last