parent
1abc92aa1e
commit
8d23e44fda
2 changed files with 32 additions and 0 deletions
@ -0,0 +1,12 @@ |
||||
#!/usr/bin/env python3 |
||||
from app import app |
||||
|
||||
def application(environ, start_response): |
||||
return app(environ, start_response) |
||||
|
||||
if __name__ == "__main__": |
||||
app.run() |
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,20 @@ |
||||
[uwsgi] |
||||
module = app:app |
||||
master = true |
||||
#callable = app |
||||
#plugins = python3 |
||||
wsgi-file = /home/zvevqx/app/lpe/app.py |
||||
home = /home/zvevqx/app/lpe |
||||
mount = /lpe=app.py |
||||
manage-script-name = true |
||||
|
||||
virtualenv = /home/zvevqx/app/lpe/venv |
||||
|
||||
socket = /tmp/lpe.sock |
||||
chmod-socket = 666 |
||||
env = DEBUG=False |
||||
env = SCRIPT_NAME=/lpe |
||||
|
||||
die-on-term = true |
||||
vaccuum = true |
||||
|
||||
Loading…
Reference in new issue