update ini files to run asyncio process as a daemon

This commit is contained in:
Kyle Mahan 2015-03-15 10:52:15 -07:00
parent 9ec34de4fc
commit db877f0c2e
3 changed files with 6 additions and 4 deletions

View file

@ -14,6 +14,7 @@ setup(name='Woodwind',
'Flask-Login',
'Flask-Micropub',
'Flask-SQLAlchemy',
'asyncio_redis',
'beautifulsoup4',
'bleach',
'feedparser',
@ -23,6 +24,6 @@ setup(name='Woodwind',
'redis',
'requests',
'rq',
'tornado',
'uwsgi',
'websockets',
])

View file

@ -1,8 +1,8 @@
[uwsgi]
master=true
processes=1
threads=1
http=:4000
module=woodwind.wsgi
import=timers
attach-daemon=rqworker
import=woodwind.tasks
attach-daemon=python -m woodwind.websocket_server

View file

@ -6,4 +6,5 @@ socket=/tmp/woodwind.sock
chmod-socket=666
module=woodwind.wsgi
import=timers
attach-daemon=venv/bin/rqworker
attach-daemon=rqworker
attach-daemon=python -m woodwind.websocket_server