seafile_ynh/scripts/remove
Elie 0f063400be Add sources
Former-commit-id: 2e47976ec5
2014-08-06 22:42:37 -04:00

9 lines
No EOL
227 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