Passenger Standalone won't restart on touching restart.txt

╄→гoц情女王★ 提交于 2019-12-21 17:02:32

问题


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?


回答1:


You need to pass the current as first parameter



来源:https://stackoverflow.com/questions/5430054/passenger-standalone-wont-restart-on-touching-restart-txt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!