mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
190aef9b8f
* [autopatch] Automatic patch attempt for helpers 2.1 * cleaning --------- Co-authored-by: Yunohost-Bot <> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
23 lines
605 B
Bash
23 lines
605 B
Bash
#!/bin/bash
|
|
|
|
source _common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
#=================================================
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
|
#=================================================
|
|
# REMOVE SYSTEMD SERVICE
|
|
#=================================================
|
|
ynh_script_progression "Removing system configurations related to $app..."
|
|
|
|
ynh_config_remove_nginx
|
|
|
|
ynh_config_remove_phpfpm
|
|
|
|
ynh_safe_rm "/etc/cron.d/$app"
|
|
|
|
#=================================================
|
|
# END OF SCRIPT
|
|
#=================================================
|
|
|
|
ynh_script_progression "Removal of $app completed"
|