Skip to content

Commit

Permalink
some updates for running under debian on the production machine
Browse files Browse the repository at this point in the history
  • Loading branch information
ssfrr committed Oct 17, 2019
1 parent 5b6e92f commit 1ace201
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
'pyzmq >= 15.0.0, <17.0.0',
'docopt==0.6.1',
'coloredlogs==0.4.7',
'gevent==1.0',
# also loosened to use the debian package
'gevent >=1.0',
'gevent-websocket==0.9.3',
'flask==0.12.4',
'websocket-client==0.12.0',
Expand Down
1 change: 1 addition & 0 deletions system/etc/supervisor/conf.d/chain_webserver.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[program:chain_webserver]
environment=PYTHON_EGG_CACHE="/tmp/pyeggs"
command=gunicorn -b 127.0.0.1:8000 --workers 4 --max-requests 400000 --access-logfile - chain.wsgi
user=www-data
umask=022
Expand Down
1 change: 1 addition & 0 deletions system/etc/supervisor/conf.d/chain_websocketd.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[program:chain_websocketd]
environment=PYTHON_EGG_CACHE="/tmp/pyeggs"
command=gunicorn -k flask_sockets.worker -b 127.0.0.1:8001 chain.websocketd:app
user=www-data
umask=022
Expand Down

0 comments on commit 1ace201

Please sign in to comment.