Just stop this process using SIGTERM, you don't need any special signal handling for that. uWSGI will restart any daemon if it exits.
2014-05-28 16:41 GMT+02:00 Tim Tisdall <[email protected]>: > I was using "attach-daemon" to run some support processes that I'd like to > keep running when I do a restart. I found in the docs > "smart-attach-daemon2" to keep the process running on restart, but what do > you do if you want to restart one of those attached daemon processes? Does > the process need to handle signals itself and then I just send a signal > directly to that process? > > Or would I need to switch to "attach-daemon2" for this type of thing? > > - Tim > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
