update ini files to run asyncio process as a daemon
This commit is contained in:
parent
9ec34de4fc
commit
db877f0c2e
3 changed files with 6 additions and 4 deletions
3
setup.py
3
setup.py
|
@ -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',
|
||||
])
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue