feat(searxng): added new role to install and configure searxng
This commit is contained in:
parent
768a8133b5
commit
63eab11b85
19 changed files with 923 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue