unicorn 无缝重启,pids目录是空的问题
摘要:
使用capistrano+unicorn布署Rails网站的时候,进行到最后一步,发现/tmp/pids/下面本应该是unicorn.pid 文件的结果是空的,就会导致cap deploy的时候不能完成,/tmp/pids/unicorn.pid: No such file or directory想了想这是第一次,所以要在服务器短启动unicorn。unicorn_rails -c config/unicorn.rb -D解决了问题。参考 阅读全文
posted @ 2012-11-10 03:04 小浪鼓 阅读(361) 评论(0) 推荐(0) 编辑