2014-05-31 12:09:33 +02:00

15 lines
379 B
Bash

#!/bin/bash
domain=$(sudo yunohost app setting searx domain)
sudo rm -Rf /opt/yunohost/searx
sudo rm -f /etc/uwsgi/apps-enabled/searx.ini
sudo rm -f /etc/uwsgi/apps-available/searx.ini
sudo rm -f /etc/nginx/conf.d/$domain.d/searx.conf
sudo service uwsgi stop
sudo killall uwsgi
sudo service uwsgi start
sudo service nginx reload
sudo yunohost app ssowatconf
sudo userdel searx