test_apps/change_url_app_ynh/scripts/remove

11 lines
202 B
Text

set -eux
# See comments in install script
app=$YNH_APP_INSTANCE_NAME
domain=$(yunohost app setting $app domain)
rm -rf /var/www/$app
rm -f /etc/nginx/conf.d/$domain.d/$app.conf
service nginx reload