Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

There is no tmp/restart.txt file in Rails app

I use Passenger to start my Rails app, but after I started Nginx, Rails app works fine, but I can't find any restart.txt file under tmp dir.

Is it to be created automatically by Passenger or manual? If automatically why doesn't it exist?

like image 834
ywenbo Avatar asked Aug 21 '11 18:08

ywenbo


1 Answers

You have to create it yourself when you want the application to restart. To do that run in a command line:

touch tmp/restart.txt
like image 124
Maurício Linhares Avatar answered Nov 15 '22 09:11

Maurício Linhares