[Solved]-Gunicorn does not start after boot

8👍

You have a small typo in your gunicorn.service file. Change to:

WantedBy=multi-user.target

Also, you may want to change to:

Restart=always
👤nik_m

0👍

I made old school crontab and the problem was solved.

crontab -e

and then

@reboot sudo systemctl restart nginx && sudo systemctl restart gunicorn.service

enter image description here

and just save crontab.

Leave a comment