1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dendrite_ynh.git synced 2024-09-03 18:25:58 +02:00

Remove well-known location too

This commit is contained in:
tituspijean 2022-11-12 12:07:41 +01:00
parent a5c1829c85
commit d89634bd12
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -22,6 +22,7 @@ tls_port=$(ynh_app_setting_get --app=$app --key=tls_port)
db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$db_name db_user=$db_name
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
server_name=$(ynh_app_setting_get --app=$app --key=server_name)
#================================================= #=================================================
# STANDARD REMOVE # STANDARD REMOVE
@ -73,6 +74,9 @@ ynh_secure_remove --file="$final_path"
#================================================= #=================================================
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
# Remove the well-known location
ynh_secure_remove --file="/etc/nginx/conf.d/${server_name}.d/${app}_server_name.conf"
# Remove the dedicated NGINX config # Remove the dedicated NGINX config
ynh_remove_nginx_config ynh_remove_nginx_config