On Wed, May 21, 2014 at 11:53 AM, Roberto De Ioris <[email protected]> wrote: > > The (current) best solution would be using hooks (in the vassal): > > hook-asap = chmod:<file> <mode> > hook-asap = chown:<file> <uid> <gid> >
Is this even possible? By the time this runs, afaik, the vassal is already running as non zero uid. > > what we could add (to bring back the unexpected old feature) is a way for > telling the emperor to close the socket and disable graceful reloading > (but i find hooks a more versatile way) > What about instead, if chown-socket/chmod-socket is specified and no socket is specified, the emperor chowns/chmods using the socket it knows about?
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
