#!/bin/bash app=odoo # Remove Odoo sudo apt-get remove odoo -y sudo apt-get remove wkhtmltopdf -y sudo yunohost service remove odoo # Remove NGINX conf domain=$(sudo yunohost app setting $app domain) sudo rm /etc/nginx/conf.d/$domain.d/$app.conf # Reload sudo service nginx reload sudo yunohost app ssowatconf