You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
486 B
20 lines
486 B
[Unit] |
|
Description=gunicorn daemon |
|
After=network.target |
|
|
|
[Service] |
|
Type=simple |
|
pidfile=/tmp/gunicorn.pid |
|
User=root |
|
Group=root |
|
|
|
RuntimeDirectory=gunicorn |
|
WorkingDirectory=/code/dingxin_toolbox_drf |
|
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 |
|
ExecStop=/bin/kill -s quit $mainpid |
|
PrivateTmp=true |
|
|
|
[Install] |
|
WantedBy=multi-user.target |
|
|
|
|