WGDashboard/src/gunicorn.conf.py

7 lines
138 B
Python
Raw Normal View History

2021-10-18 02:24:09 +03:00
import dashboard
app_host, app_port = dashboard.get_host_bind()
bind = f"{app_host}:{app_port}"
daemon = True
pidfile = './gunicorn.pid'