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"
|