【发布时间】:2018-08-24 08:53:44
【问题描述】:
我想在服务中配置 gunicorn。
我有这个服务配置:
[Unit]
Description=test
[Service]
WorkingDirectory=/var/www/cmdb
Type=forking
Restart=always
ExecStart=/var/www/test/bin/gunicorn --workers=4 --bind=0.0.0.0:8080 test.wsgi:application
[Install]
WantedBy=multi-user.target
我的问题是它没有运行。启动服务时出现此错误:
gunicorn.service: Main process exited, code=exited, status=203/EXEC
gunicorn.service: Unit entered failed state.
gunicorn.service: Failed with result 'exit-code'.
gunicorn.service: Start request repeated too quickly.
我在我的配置中没有发现错误。有人有想法吗?
【问题讨论】: