@@ -4,20 +4,56 @@
44How to update
55=============
66
7+How to update depends on the :ref:`installation` method. If you have used the
8+:ref:`installation scripts`, use ``update`` command from the scripts.
9+
10+**Update** :ref:`searx service <searx.sh>`
11+
12+.. code:: sh
13+
14+ sudo -H ./utils/searx.sh update searx
15+
16+**Update** :ref:`filtron reverse proxy <filtron.sh>`
17+
718.. code:: sh
819
9− sudo -H -u searx -i
10− (searx)$ git stash
11− (searx)$ git pull origin master
12− (searx)$ git stash apply
13− (searx)$ ./manage.sh update_packages
20+ sudo -H ./utils/filtron.sh update filtron
21+
22+**Update** :ref:`result proxy <morty.sh>`
23+
24+.. code:: bash
25+
26+ $ sudo -H ./utils/morty.sh update morty
27+
28+.. _inspect searx:
29+
30+======================
31+How to inspect & debug
32+======================
33+
34+.. sidebar:: further read
35+
36+ - :ref:`toolboxing`
37+ - :ref:`Makefile`
38+
39+How to debug depends on the :ref:`installation` method. If you have used the
40+:ref:`installation scripts`, use ``inspect`` command from the scripts.
41+
42+**Inspect** :ref:`searx service <searx.sh>`
43+
44+.. code:: sh
45+
46+ sudo -H ./utils/searx.sh inspect service
47+
48+**Inspect** :ref:`filtron reverse proxy <filtron.sh>`
49+
50+.. code:: sh
1451
15−Restart uwsgi:
52+ sudo -H ./utils/filtron.sh inspect service
1653
17−.. tabs::
54+**Inspect** :ref:`result proxy <morty.sh>`
1855
19− .. group-tab:: Ubuntu / debian
56+.. code:: bash
2057
21− .. code:: sh
58+ $ sudo -H ./utils/morty.sh inspect service
2259
23− sudo -H systemctl restart uwsgi