On Sun, Feb 14, 2016 at 5:51 PM, xin <[email protected]> wrote:
> Maybe I can write q
> to master fifo, and before the instance shutdown, unlink the related ini
> config file. It is still gracefull. for example
>
>        master-fifo = /tmp/new.fifo
>        master-fifo = /tmp/running.fifo
>        if-exists = /tmp/running.fifo
>            hook-accepting1-once = writefifo:/tmp/running.fifo q
>        endif =
>      hook-accepting1-once = writefifo:/tmp/new.fifo 1
>      hook-as-user-atexit = unlink:/path/%n.ini
>
>     I had tested the config, and the behaviour was meeting expectations.
> but  I'm not sure It is absolutely right,  do you have any suggestion?

Clever, but it won't work (I had the very same idea).

Imagine that someone will want to temporarily shutdown Emperor,
or host is rebooted. You would loose persistent vassal config.

You don't want the vassal to delete itself at every shutdown.
Only when it is part of code deploy.

Regards,

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

Reply via email to