seafile_ynh/scripts/remove
Elie 32cb33d553 Ldap config
Former-commit-id: cb3c99de60
2014-08-12 21:21:47 -04:00

14 lines
392 B
Bash

#!/bin/bash
domain=$(sudo yunohost app setting seafile domain)
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
sudo rm -f /etc/init.d/seafile-server
sudo rm -f /etc/init/seafile-server.conf
#sudo yunohost firewall deny $ccnet_port
#sudo yunohost firewall deny $seafile_port