admin管理员组

文章数量:1201792

[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target
[Service]
User=evanys
Group=www-data
WorkingDirectory=/home/evanys/www/plus
ExecStart=/home/evanys/www/django22/bin/gunicorn \
          --access-logfile - \
          --workers 3 \
          --bind unix:/home/evanys/plus.sock \
          plus.wsgi:application
[Install]
WantedBy=multi-user.target

At the moment to execute the command

 sudo systemctl start gunicorn.socket

I get this error message:

Failed to start gunicorn.socket: Unit gunicorn.socket has a bad unit file setting.

本文标签: Failed to start gunicornsocket Unit gunicornsocket has a bad unit file settingStack Overflow