seafile_ynh/scripts/remove
Elie c9bb0d708a Install completed
Former-commit-id: 5d4935812a
2014-08-11 21:18:09 -04:00

11 lines
No EOL
306 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