uwsgi.service.j2 - ansible-roles - A collection of ansible roles I have created over the years.
(HTM) git clone git://jay.scot/ansible-roles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
uwsgi.service.j2 (370B)
---
1 [Unit]
2 Description=uwsgi start up script
3
4 [Service]
5 Type=simple
6 Restart=on-failure
7
8 WorkingDirectory={{ searx_install_path }}
9 ExecStartPre=-/usr/bin/bash -c 'mkdir -p /run/uwsgi/app/searx; chown -R {{ searx_user }}.nginx /run/uwsgi'
10 ExecStart=/usr/bin/bash -c '{{ searx_install_path }}/searx-ve/bin/python searx/webapp.py; uwsgi --ini /etc/uwsgi/apps-enabled/searx.ini'