ywenbo
ywenbo

Reputation: 3091

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?

Upvotes: 17

Views: 17017

Answers (1)

Maurício Linhares
Maurício Linhares

Reputation: 40333

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

Upvotes: 40

Related Questions