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
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
and just save crontab.
- Django object is not JSON serializable error after upgrading django to 1.6.5
- Make group by having count(*) with django orm
- How change Schemes from HTTP to HTTPS in drf_yasg?
- Django Rest Framework: `get_serializer_class` called several times, with wrong value of request method
Source:stackexchange.com