开发者

Passenger Standalone won't restart on touching restart.txt

开发者 https://www.devze.com 2023-02-19 10:56 出处:网络
I built a little deploy script that works similar to Capistrano in that way, that it checks out a Rails application to a timestamped directory and开发者_开发百科 sets the current link to that when all

I built a little deploy script that works similar to Capistrano in that way, that it checks out a Rails application to a timestamped directory and开发者_开发百科 sets the current link to that when all went well. The problem is, that on touching the tmp/restart.txt, nothing happens and I wonder if it has something to do with Passenger Standalone being started from within the timestamped directory after cd /path/to/app/current. So if i update the current link, passenger doesn't see the things happening in that link's new target directory but stays in the old one, thinking life is beautiful.

Are these assumptions correct and if so, what can I do? If not, what can I do?


You need to pass the current as first parameter

0

精彩评论

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