mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-02 18:51:31 +08:00
11 lines
338 B
Python
11 lines
338 B
Python
#
|
|
# 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")
|