feat(searxng): added new role to install and configure searxng

This commit is contained in:
NaeiKinDus 2025-05-23 00:00:00 +00:00
parent 768a8133b5
commit 63eab11b85
Signed by: WoodSmellParticle
GPG key ID: 8E52ADFF7CA8AE56
19 changed files with 923 additions and 0 deletions

View file

@ -0,0 +1,15 @@
[Unit]
Description=SearxNG uWSGI socket
#Documentation=
After=network-online.target
[Socket]
ListenStream={{ searxng_uwsgi_socket_dir }}/searxng.socket
SocketMode=0660
{% if systemd_version | int >= 214 %}
SocketUser={{ searxng_user }}
SocketGroup={{ searxng_socket_group | default(searxng_group, True) }}
{% endif %}
[Install]
WantedBy=sockets.target