mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
14 lines
351 B
Text
14 lines
351 B
Text
|
#!/bin/bash
|
||
|
|
||
|
domain=$(sudo yunohost app setting searx domain)
|
||
|
|
||
|
sudo rm -Rf /opt/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
|