you may use uwsgi and tell uwsgi to gracefully reload, it won't even close any eventual tcp sockets, they will wait until the new code is loaded, users will never now you reloaded the application
On Mon, Mar 13, 2017 at 3:25 PM, Thiago Parolin <tlparo...@gmail.com> wrote: > We have a small webserver that is used by many projects (php) from many > users. > Now, i am hosting a django project. > > The problem is: > - when user changed some file in his project, the apache continues > serving old file until restart the httpd service. > - the users don't have sudo access, and i don't want to give this power > to them. > > How can i make apache identify changes without restart? > I never had this problem with php before, and i am totally new to django... > Sorry if this question is more about apache than django. > Thanks. > > -- > 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 django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > 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/CACTnJ00E8bUSWxW_9-VrDb_ikfJ_ > tzSXWgrq431OWGhsvd8gkg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACTnJ00E8bUSWxW_9-VrDb_ikfJ_tzSXWgrq431OWGhsvd8gkg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. 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/CAFWa6tKSutXH-oJA5q9d6mvRyncUwbssqbSYZb5gDpQFqRbEHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.