#!/bin/bash

source /usr/share/yunohost/helpers

app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get $app domain)
final_path=$(ynh_app_setting_get $app final_path)

ynh_secure_remove "$final_path"
ynh_remove_nginx_config
