What is the recommended way to restart an app (a django+nginx app, in this case).
~/apps/myapp/stop && ~/apps/myapp/start
doesn't seem to work. Specifically, the commands execute successfully, but the site continues to serve the old code for a few minutes at least.
I think it was working last month, but is not working now.
More info: if I just do ~/apps/myapp/stop
and then go to the website, the website is still up, instead of giving me an error.
What am I doing wrong?