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-05-31 12:10:11 +02:00

16 lines
456 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
sudo userdel radicale