xppl/ansible/roles/supervisor/templates/xppl.conf.j2

14 lines
341 B
Django/Jinja

[group:xppl]
programs=xppl-rqlite,xppl-flask
[program:xppl-flask]
user = xppl
directory = /var/xppl
command = pipenv run gunicorn --bind 127.0.0.1:5000 --worker-class eventlet -w 1 wsgi:app
priority = 999
[program:xppl-rqlite]
user = xppl
command = /var/xppl/rqlite/rqlite-v4.3.0-linux-amd64/rqlited /var/xppl/rqlite/node.1
priority = 888