#!/bin/bash app=odoo # Remove Odoo sudo apt-get remove odoo sudo apt-get remove wkhtmltopdf 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