On Tue, 2012-08-21 at 01:03 +0200, Janoš Guljaš wrote:
> On Mon, Aug 20, 2012 at 8:17 PM, Adam D. Barratt
> <[email protected]> wrote:
> > If the daemon always runs as "uwsgi-core", would it be worth changing
> > the calls to use "--name uwsgi-core" or similar, instead of dropping the
> > use of --name entirely?  I'm pondering how likely it is that s-s-d will
> > end up killing the wrong process if the daemon has died and the PID has
> > been re-used.  Maybe I'm just overly paranoid.
[...]
> I agree that removing the name option can make more damage then good,
> so I am sending debdiff with a patch that is changing how uwsgi_reload
> function works. That function is overriding the main's argv[0] value
> with a value provided by the readlink. The patch is just using argv[0]
> in execvp as the first argument. That way the process name is
> preserved, even if the path in argv[0] is in relative form.

Assuming the new package has been appropriately tested, please go ahead;
thanks.

Regards,

Adam


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to