有没有同步重启passenger服务器的方法?运行touch tmp/restart.txt将重新启动服务器,但触摸命令是异步的。
touch tmp/restart.txt
发布于 2015-02-12 23:53:59
您可以使用curl -I http://your-server来执行touch tmp/restart.txt命令。这将导致passenger立即重新启动您的应用程序。
curl -I http://your-server
这就是你想要的功能吗?
https://stackoverflow.com/questions/7591852
相似问题