I am using an apache webserver which has several applications on it.
I need to restart one specific ruby on rails application.
In the phusion passenger documentation, it mentions that there are 2 ways of doing so:
- By restarting Apache.
- By creating or modifying the file tmp/restart.txt in the Rails application’s root folder. Phusion Passenger will automatically restart the application during the next request.
For example, to restart our example MyCook application, we type this in the command line:
touch /webapps/mycook/tmp/restart.txt
I don't want to restart the whole webserver, just my rails app. My rails app folder is called sub_interface.
I created an empty text file called restart.txt in the tmp folder and ran the comman
touch htdocs/sub_interface/tmp/restart.txt
Nothing happened. That file is empty.
How do I restart only my rails application without restarting the entire web server?