调试 uvicorn

main
RogerWork 9 months ago
parent 2cafb54498
commit ade81b7691
  1. 2
      gunicorn.service

@ -10,7 +10,7 @@ Group=root
RuntimeDirectory=gunicorn RuntimeDirectory=gunicorn
WorkingDirectory=/code/dingxin_toolbox_drf WorkingDirectory=/code/dingxin_toolbox_drf
ExecStart=/code/dingxin-server/bin/gunicorn -c /code/dingxin_toolbox_drf/gunicorn_config.py dingxin_toolbox_drf.wsgi:application ExecStart=/code/dingxin-server/bin/gunicorn -c /code/dingxin_toolbox_drf/gunicorn_config.py -k uvicorn.workers.UvicornWorker dingxin_toolbox_drf.asgi:application
ExecReload=/bin/kill -s hup $mainpid ExecReload=/bin/kill -s hup $mainpid
ExecStop=/bin/kill -s quit $mainpid ExecStop=/bin/kill -s quit $mainpid
PrivateTmp=true PrivateTmp=true

Loading…
Cancel
Save