dingxin_toolbox
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.

21 lines
453 B

9 months ago
[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 dingxin_toolbox_drf.wsgi:application
ExecReload=/bin/kill -s hup $mainpid
ExecStop=/bin/kill -s quit $mainpid
PrivateTmp=true
[Install]
WantedBy=multi-user.target