#!/bin/bash domain=$(sudo yunohost app setting jirafeau domain) sudo rm -rf /home/yunohost.app/jirafeau sudo rm -rf /var/www/jirafeau sudo rm -f /etc/nginx/conf.d/$domain.d/jirafeau.conf sudo rm -f /etc/php5/fpm/pool.d/jirafeau.conf sudo service php5-fpm restart sudo service nginx reload