Reputation: 11
[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.
Upvotes: 0
Views: 8