Hi all,

It seems that emperor, touch and symbolic links don't get along very well.

I am using emperor with the dir:// plugin. Following the
docs<http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html#special-configuration-variables>
I
have all the inis for the different vassals being symbolic links to one
physical file.

So, the dir layout for my uWSGI config looks like this:


   - /etc/uwsgi/
   - sites-enabled/
         - app1.ini -> /etc/uwsgi/templates/base.conf
         - app2.ini -> /etc/uwsgi/templates/base.conf
         - ..
      - templates/
         - default.conf

The docs 
mention<http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html#special-configuration-variables>'touch
instance.ini' as a way to reload a single vassal, and that seems to
me a very nice way of doing a reload. But this way *all* the instances are
reloaded, due to the symbolic links, I guess.

I also tried with 'touch -- no-dereference' but the emperor doesn't notice
anything at all.

(Tested right now on the latest version, 1.9.13)

Finally I switched to 'uwsgi --reload $PIDFILE'

It's not a problem, but I would like to know if it is a known behaviour (in
this case we should probably leave a note in the docs) or whether I am
doing something wrong.

Thanks!


*Alberto Scotto*

skype:dasgazzo
http://about.me/alb_i986
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to