gunicorn - Gunicorn 服务没有出现在 centos8 上
问题描述
我不断收到错误:
gunicorn.service - gunicorn daemon
Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-06-03 03:35:49 UTC; 33ms ago
Process: 25963 ExecStart=/home/flooroofcloud/flooroof/flooroofenv/bin/gunicorn --access-logfile - --workers 3 --bind unix:gunicorn.sock realestate.wsgi (code=exited, stat>
Main PID: 25963 (code=exited, status=203/EXEC)
Jun 03 03:35:49 flooroof systemd[1]: Started gunicorn daemon.
Jun 03 03:35:49 flooroof systemd[1]: gunicorn.service: Main process exited, code=exited, status=203/EXEC
Jun 03 03:35:49 flooroof systemd[1]: gunicorn.service: Failed with result 'exit-code'.
以下是我的服务文件
Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target
[Service]
User=root
Group=nginx
WorkingDirectory=/home/flooroofcloud/flooroof
ExecStart=/home/flooroofcloud/flooroof/flooroofenv/bin/gunicorn --access-logfile - --workers 3 --bind unix:gunicorn.sock realestate.wsgi
[Install]
WantedBy=multi-user.target
Django目录路径:
/home/flooroofcloud/flooroof
不知道我做错了什么。请指教。