I use the passenger
spawned by nginx
. There are many other rails applications on the server that uses passenger (each has own virtual host in nginx).
I can restart the Rails/Nginx/Passenger application like this:
touch tmp/restart.txt
How I can stop it?
This doesn't work:
touch tmp/stop.txt
touch tmp/shutdown.txt