Add conf files to tools

This commit is contained in:
LoveEevee
2020-12-22 21:51:39 +03:00
parent 6918648ed6
commit 8865ba2e89
2 changed files with 40 additions and 0 deletions

15
tools/supervisor.conf Normal file
View File

@@ -0,0 +1,15 @@
[program:taiko_app]
directory=/srv/taiko-web
command=/srv/taiko-web/.venv/bin/gunicorn -b 127.0.0.1:34801 app:app
autostart=true
autorestart=true
stdout_logfile=/var/log/taiko-web/app.out.log
stderr_logfile=/var/log/taiko-web/app.err.log
[program:taiko_server]
directory=/srv/taiko-web
command=/srv/taiko-web/.venv/bin/python server.py 34802
autostart=true
autorestart=true
stdout_logfile=/var/log/taiko-web/server.out.log
stderr_logfile=/var/log/taiko-web/server.err.log