2024-01-14 12:16:44 +01:00
|
|
|
#!/bin/bash
|
2022-02-16 10:25:34 +01:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# REMOVE NGINX CONFIGURATION
|
|
|
|
#=================================================
|
2022-03-13 01:21:45 +01:00
|
|
|
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
|
2022-02-16 10:25:34 +01:00
|
|
|
|
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
ynh_secure_remove --file="/var/log/$app"
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2022-03-13 01:21:45 +01:00
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|