From d2e959c827ef0f04d900bf45fd1fa877a2a824d7 Mon Sep 17 00:00:00 2001 From: abeudin Date: Thu, 29 May 2014 12:45:50 +0200 Subject: [PATCH] Update remove --- scripts/remove | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 25b7ac8..becc6f5 100644 --- a/scripts/remove +++ b/scripts/remove @@ -2,10 +2,11 @@ domain=$(sudo yunohost app setting searx domain) -sudo rm -Rf /opt/searx +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 userdel searx sudo service uwsgi stop sudo killall uwsgi sudo service uwsgi start