*Ubuntu 16.04.3 Desktop version.*
*gunicorn (version 19.7.1)* *virtualenv 15.1.0* I'd like Gunicorn to start on boot. Gunicorn is integrated with *Django*. */etc/init/photoarchive.conf* description "Gunicorn server for photoarchive" start on runlevel [2345] stop on runlevel [!2345] respawn setuid server setgid server chdir /home/server/photoarchive/photoarchive exec /home/server/photoarchive/venv/photoarchive/bin/gunicorn photoarchive.wsgi What is done for self-check: 1. 1. cd /home/server/photoarchive/photoarchive ls I can see manage.py. 1. 2. 2. 3. cd /home/server/photoarchive/venv/photoarchive/bin/ I can see gunicorn file. 4. cd /var/log/upstart It is empty. 1. 2. 3. 3. $ ps aux | grep gunicorn server 2715 0.0 0.0 21292 948 pts/6 S+ 10:12 0:00 grep --color=auto gunicorn Well, this is grep has grepped itself. 4. 1. Activate virtualenv. cd /home/server/photoarchive/photoarchive gunicorn photoarchive.wsgi Now gunicorn is running. So, manually it starts. *Could you help me organize running gunicorn on start?* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e021369b-9846-4daf-906d-246d52b2dbbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

