seafile_ynh/scripts/remove

9 lines
227 B
Text
Raw Normal View History

#!/bin/bash
domain=$(sudo yunohost app setting seafile domain)
2014-08-07 04:42:27 +02:00
cd /var/www/seafile/seafile-server-*
sudo ./seafile.sh stop
sudo ./seahub.sh stop
sudo rm -rf /var/www/seafile
sudo rm -f /etc/nginx/conf.d/$domain.d/seafile.conf