I just started using digitalocean, and wanted to host a Django 1.7 application on a server. I copied over my django project to the server, and installed the few packages I needed to run it. I tested and made sure that I could run the site using the the built in django development server. After doing that however, I went to setup gunicorn as is shown in this tutorial: https://www.digitalocean.com/community/tutorials/how-to-use-the-django-one-click-install-image. After changing the filename and path to match my django project I typed “service gunicorn restart” only to have the shell say:
stop: Unknown job: gunicorn start: Unknown job: gunicorn
I’ve never used gunicorn before and have no idea what is going wrong. I was hoping I could get some help finishing my setup and publishing the site.
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Use
init-checkconf /etc/init/gunicorn.conf
to check if your gunicorn.conf fie is alright - if the syntax is wrong, that command will say so, which could be the problem.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.