1/06/2011 09:48 AM, Roberto De Ioris wrote: > >> Hi, >> >> I wondered whether you have any suggestions about >> improving my init script, which shall start stop uwsgi. >> >> I''m a uwsgi newbie and did do very little with init scripts. >> > If your distro/os does not support modern init systems (upstart,systemd, > launchd...) your script is a good one. > >
Thanks Robert, In fact my distro would support upstart scripts, but I have even less experience with upstart scripts than with init scripts (I didn't even look at an upstart script till 10 minutes ago). I found two linke showing examples of upstart scripts for nginx and uwsgi. http://www.westphahl.net/blog/2010/4/8/running-django-nginx-and-uwsgi/ https://gist.github.com/351959 Where I'm at a loss though is how to make sure, that nginx is started after uwsgi. _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
