using exec in the shell script will make uwsgi become pid 1 again which means that it can handle sigterm properly. The memcached daemon that is running in the background will be unceremoniously killed off when uwsgi exits, but this is not a problem because it (being a ram only cache) does not have persistent state.
using exec in the shell script will make uwsgi become pid 1 again which means that it can handle sigterm properly. The memcached daemon that is running in the background will be unceremoniously killed off when uwsgi exits, but this is not a problem because it (being a ram only cache) does not have persistent state.