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

30 lines
849 B
Text
Raw Normal View History

2017-12-14 18:03:01 +01:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
2017-12-14 18:03:01 +01:00
#=================================================
2023-03-30 17:49:45 +02:00
# REMOVE SYSTEM CONFIGURATIONS
2017-12-14 18:03:01 +01:00
#=================================================
2023-03-30 17:49:45 +02:00
# REMOVE SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2017-12-14 18:03:01 +01:00
ynh_remove_nginx_config
2019-03-13 21:39:39 +01:00
ynh_remove_fpm_config
2020-03-27 14:17:52 +01:00
2020-03-24 02:27:29 +01:00
ynh_secure_remove --file="/etc/cron.d/$app"
2017-12-14 18:03:01 +01:00
2019-03-12 18:10:10 +01:00
#=================================================
# END OF SCRIPT
#=================================================
2021-07-20 08:30:59 +02:00
ynh_script_progression --message="Removal of $app completed" --last