1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radicale_ynh.git synced 2024-09-03 20:16:14 +02:00
radicale_ynh/scripts/remove
2014-03-10 11:33:01 +01:00

15 lines
434 B
Bash

#!/bin/bash
domain=$(sudo yunohost app setting radicale domain)
sudo rm -Rf /opt/yunohost/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