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

27 lines
635 B
Text
Raw Normal View History

2023-06-05 17:27:49 +02:00
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
2024-06-23 09:19:26 +02:00
# REMOVE SYSTEMD SERVICE
2023-06-05 17:27:49 +02:00
#=================================================
2024-06-23 09:19:26 +02:00
ynh_script_progression "Removing system configurations related to $app..."
2023-06-05 17:27:49 +02:00
2024-06-23 09:19:26 +02:00
ynh_config_remove_nginx
2023-06-05 17:27:49 +02:00
2024-06-23 09:19:26 +02:00
ynh_config_remove_phpfpm
2023-06-05 17:27:49 +02:00
2024-06-23 09:19:26 +02:00
ynh_config_remove_logrotate
2023-06-05 17:27:49 +02:00
2024-06-23 09:19:26 +02:00
ynh_safe_rm "/etc/cron.d/$app"
2023-06-05 17:27:49 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2024-06-23 09:19:26 +02:00
ynh_script_progression "Removal of $app completed"