Failed to start gunicorn.service: Unit gunicorn.service not found

前端 未结 2 1942
一整个雨季
一整个雨季 2021-01-17 19:45

I am trying to deploy a basic application to Amazon EC2 using Django, Gunicorn, and Nginx. I have the app git c

2条回答
  •  逝去的感伤
    2021-01-17 19:50

    Since Ubuntu 15.04 upstart has been replaced by systemd. You need to create a file /etc/systemd/gunicorn.service, which has a different syntax than the upstart file. The FAQ can get you started, and the reference is man systemd.service.

提交回复
热议问题