1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00
searx_ynh/scripts/remove

15 lines
379 B
Text
Raw Normal View History

2014-05-10 11:54:15 +02:00
#!/bin/bash
domain=$(sudo yunohost app setting searx domain)
2014-05-29 12:45:50 +02:00
sudo rm -Rf /opt/yunohost/searx
2014-05-10 11:54:15 +02:00
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
2014-05-29 12:45:50 +02:00
sudo userdel searx
2014-05-10 11:54:15 +02:00
sudo service uwsgi stop
sudo killall uwsgi
sudo service uwsgi start
sudo service nginx reload
sudo yunohost app ssowatconf