diff options
author | xyz <gky44px1999@gmail.com> | 2022-03-30 19:37:20 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-03-30 19:37:20 -0700 |
commit | a5a37a3db6cbd53ad996cf7de12decf392526d0b (patch) | |
tree | 42dee3ab051fe753e7b4a2ad16b642dd0d7514a0 /etc | |
parent | 3502e59bf57e1e3caec98b83a58537d0c664a719 (diff) |
switch to aur searxng-git
Diffstat (limited to 'etc')
-rw-r--r-- | etc/uwsgi/searx.ini | 36 | ||||
-rw-r--r-- | etc/uwsgi/vassals/searxng.ini | 19 |
2 files changed, 19 insertions, 36 deletions
diff --git a/etc/uwsgi/searx.ini b/etc/uwsgi/searx.ini deleted file mode 100644 index 4522a80a..00000000 --- a/etc/uwsgi/searx.ini +++ /dev/null @@ -1,36 +0,0 @@ -[uwsgi]
-http-socket = :49152
-
-# Who will run the code
-uid = searx
-gid = searx
-
-# disable logging for privacy
-disable-logging = false
-
-# Number of workers (usually CPU count)
-workers = 4
-
-# The right granted on the created socket
-chmod-socket = 666
-
-# Plugin to use and interpretor config
-single-interpreter = true
-master = true
-plugin = python
-lazy-apps = true
-enable-threads = true
-
-# Settings path for AUR package
-env = SEARX_SETTINGS_PATH=/etc/searx/settings.yml
-
-# Module to import
-module = searx.webapp
-
-# Virtualenv and python path
-#virtualenv = /usr/local/searx/searx-ve/
-#pythonpath = /usr/local/searx/
-#chdir = /usr/local/searx/searx/
-
-# Cache: https://uwsgi-docs.readthedocs.io/en/latest/Caching.html
-cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
diff --git a/etc/uwsgi/vassals/searxng.ini b/etc/uwsgi/vassals/searxng.ini new file mode 100644 index 00000000..403ffe16 --- /dev/null +++ b/etc/uwsgi/vassals/searxng.ini @@ -0,0 +1,19 @@ +[uwsgi]
+uid = searxng
+gid = searxng
+env = LANG=C.UTF-8
+env = LANGUAGE=C.UTF-8
+env = LC_ALL=C.UTF-8
+env = SEARX_SETTINGS_PATH=/etc/searxng/settings.yml
+logger = systemd
+disable-logging = true
+chmod-socket = 666
+single-interpreter = true
+master = true
+lazy-apps = true
+plugin = python
+enable-threads = true
+module = searx.webapp
+chmod-socket = 666
+http = :49152
+cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
|