#!/bin/bash domain=$(sudo yunohost app setting radicale domain) sudo rm -Rf /usr/local/radicale sudo rm -Rf /var/www/radicale/ sudo rm -Rf /etc/radicale/ sudo rm -f /etc/uwsgi/apps-enabled/radicale.ini sudo rm -f /etc/uwsgi/apps-available/radicale.ini sudo rm -f /etc/nginx/conf.d/$domain.d/radicale.conf sudo service uwsgi stop sudo killall uwsgi sudo service uwsgi start sudo service nginx reload sudo yunohost app ssowatconf