开发者

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

开发者 https://www.devze.com 2023-03-30 04:17 出处:网络
I use Passenger to开发者_StackOverflow中文版 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.

I use Passenger to开发者_StackOverflow中文版 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?


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
0

精彩评论

暂无评论...
验证码 换一张
取 消