mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
12 lines
360 B
Python
12 lines
360 B
Python
# -*- coding: utf-8 -
|
|
#
|
|
# This file is part of gunicorn released under the MIT license.
|
|
# See the NOTICE for more information.
|
|
|
|
from gunicorn.app.wsgiapp import run
|
|
|
|
if __name__ == "__main__":
|
|
# see config.py - argparse defaults to basename(argv[0]) == "__main__.py"
|
|
# todo: let runpy.run_module take care of argv[0] rewriting
|
|
run(prog="gunicorn")
|