Il giorno 16/mar/2012, alle ore 12:47, Marcin Deranek ha scritto: > Hi Roberto, > > On Tue, 28 Feb 2012 14:02:11 +0100 > "Roberto De Ioris" <[email protected]> wrote: > >> Yes, it is expected, as daemonizing happens a lot earlier than app >> loading (so the exit code is the one from the parent process that is >> always 0). >> >> We could have a --daemonize2 (like we have pidfile2, chdir2 and >> logto2) to posticipate daemoniziation after app loading. > > It looks like if --daemonize2 is used either --pidfile or --pidfile2 > stores incorrect PID (confirmed with 1.1-rc4). > > Marcin >
Fixed (and refactored) thanks -- Roberto De Ioris http://unbit.it JID: [email protected] _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
