forked from Icycoide/searxng
[fix] socket in SearXNG's uWSGI app (searxng.ini)
Use SEARX_UWSGI_SOCKET in uWSGI systemd service Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
e48e2a9914
commit
5eedd5b72a
5 changed files with 17 additions and 13 deletions
|
@ -1,3 +1,4 @@
|
|||
# -*- mode: conf; coding: utf-8 -*-
|
||||
[uwsgi]
|
||||
|
||||
# uWSGI core
|
||||
|
@ -79,7 +80,7 @@ pythonpath = ${SEARX_SRC}
|
|||
#
|
||||
# On some distributions you need to create the app folder for the sockets::
|
||||
#
|
||||
# mkdir -p /run/uwsgi/app/searx
|
||||
# chown -R ${SERVICE_USER}:${SERVICE_GROUP} /run/uwsgi/app/searx
|
||||
# mkdir -p ${SEARX_UWSGI_SOCKET}
|
||||
# chown -R ${SERVICE_USER}:${SERVICE_GROUP} ${SEARX_UWSGI_SOCKET}
|
||||
#
|
||||
socket = /run/uwsgi/app/searx/socket
|
||||
socket = ${SEARX_UWSGI_SOCKET}
|
Loading…
Add table
Add a link
Reference in a new issue