扫码关注官方订阅号
一般在rails+nginx+passenger在修改部分代码后,通常touch 一下/tmp/restart.txt就可以更新项目,这个和nginx -s reload 的作用是一样的,我想问一下.这个做的原理是什么呢?
走同样的路,发现不同的人生
这个是passneger官方文档的解释http://www.modrails.com/documentation...
Phusion Passenger checks whether the timestamp of this file has changed in order to determine whether the application should be restarted.
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
这个是passneger官方文档的解释
http://www.modrails.com/documentation...