Hi,

I'm trying to understand the reload behavior for uWSGI in the presence of
symlinks, and I wonder whether anyone has any experience of this?

Suppose I have the following setup

  /webapps/mywebapp -- symlink --> /webapps/mywebapp-version0

with uWSGI living at

  /webapps/mywebapp-version0/virtualenv/bin/uwsgi

and the webapp invoked as

  /webapps/mywebapp/virtualenv/bin/uwsgi \
    --virtualenv /webapps/mywebapp [...]

Suppose I change the /webapps/mywebapp symlink to point to
/webapps/mywebapp-version1 and issue a reload to uWSGI.  It appears that
uWSGI doesn't 'refollow' the symlink, and instead just reloads the code
from /webapps/mywebapp-version0.  Is this the expected behavior, and if so
are there any workarounds?

Cheers,

John
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to