1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zwiicms_ynh.git synced 2024-09-03 18:06:04 +02:00
zwiicms_ynh/scripts/remove

30 lines
826 B
Text
Raw Permalink Normal View History

2020-05-04 19:15:22 +02:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
2023-03-10 22:48:26 +01:00
# REMOVE SYSTEM CONFIGURATIONS
2020-05-04 19:15:22 +02:00
#=================================================
2023-03-19 09:50:39 +01:00
# REMOVE SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2020-05-04 19:15:22 +02:00
ynh_remove_nginx_config
2020-05-07 13:33:50 +02:00
ynh_remove_fpm_config
2020-05-04 19:15:22 +02:00
2023-03-10 22:48:26 +01:00
ynh_remove_logrotate
2020-05-04 19:15:22 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2023-03-10 22:48:26 +01:00
ynh_script_progression --message="Removal of $app completed" --last