I guess when I have time I'll just have to redesign my process to actually run as a proper daemon. Until then I'll just have to look through "ps" to find the proper process to kill.
Thanks for clearing that up. On Tue, Jun 17, 2014 at 11:37 AM, Roberto De Ioris <[email protected]> wrote: > > > I thought the idea behind the "2" version of "smart-attach-daemon" was > for > > daemon's that didn't create their own PID file. If the process creates > > it's own PID then we should just use "smart-attach-daemon" and point to > > the > > PID created by that process, no? > > "smart" daemons are meant to be run "detached" from uWSGI, that is why we > only need to track the shell (if the main process dies, the shell is > destroyed automatically). The '2' variant, allows uWSGI to track the shell > saving its pidfile, so it can monitor it. > > Basically you are giving the pidfile another meaning (while it is only > used internally by uWSGI to track the shell) > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
