Hi maybe you need use supervisord http://supervisord.org/
Cheers On Tue, Oct 15, 2013 at 3:12 AM, Muhammed TÜFEKYAPAN <[email protected]>wrote: > Hello everyone, > > Yes I know that but now my problem is our new project doesn't seen on > services list and so I can't start it. > > I use gunicorn. > > How can I made it? > > > On Monday, October 14, 2013 10:03:22 PM UTC+3, Javier Guerra wrote: > >> On Mon, Oct 14, 2013 at 12:17 PM, Muhammed TÜFEKYAPAN >> <[email protected]> wrote: >> > I use digitalocean as a server. I upload my django project files on my >> > server and start to setup. Made postgresql settings etc but I can't >> define >> > my new project as a new service on nginx. How can I define my new >> projest as >> > a service and make possible to start it as "service blabla start". >> > >> > When I type "service --statıs-all" I can't see my new project now. >> >> >> i think you're mixing two things and missing a third. >> >> 1: AFAIK, nginx doesn't have "services", just serves requests via some >> methods, either static files, internal plugins or backend servers. >> >> 2: on most linux distros, the 'service' command manages startup >> scripts; with start/stop commands to run daemons. >> >> 3: nginx doesn't run python applications, you have to run them in an >> app server. for Django, (and most python frameworks), the best option >> is a wsgi server. One that runs really well with nginx is uWSGI. >> another option is to run gunicorn as an HTTP backend server behind >> nginx. >> >> >> so, which is your deployment strategy? >> (https://docs.djangoproject.**com/en/1.6/howto/deployment/<https://docs.djangoproject.com/en/1.6/howto/deployment/>) >> >> >> >> -- >> Javier >> > -- > 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 http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/ef9db670-7a3a-4b84-837a-c9e401840452%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAM-7rO3OnaOww7%3Dcwv%3DGc2vKWrAh1-hgP6skLcd9i%3DOdvBujzg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

