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

28 lines
772 B
Text
Raw Permalink Normal View History

2021-01-12 18:39:03 +01:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
2024-01-16 21:51:49 +01:00
# REMOVE SYSTEM CONFIGURATIONS
2021-01-12 18:39:03 +01:00
#=================================================
2024-01-16 21:51:49 +01:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2021-01-12 18:39:03 +01:00
ynh_remove_fpm_config
2024-01-16 21:51:49 +01:00
ynh_remove_nginx_config
2021-01-12 18:39:03 +01:00
2021-02-10 18:00:18 +01:00
ynh_secure_remove --file="/etc/cron.d/$app"
2021-01-12 18:39:03 +01:00
#=================================================
# END OF SCRIPT
#=================================================
2021-07-17 12:00:15 +02:00
ynh_script_progression --message="Removal of $app completed" --last