首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Capistrano未重新启动

Capistrano未重新启动
EN

Stack Overflow用户
提问于 2009-11-30 06:20:06
回答 3查看 331关注 0票数 0

Capistrano正在部署cold,部署更新并上传symlink。但是,它不会重新启动。

我注意到/script/process/reaper文件上的权限被拒绝。我发现a suggestion暗示文件需要更新权限。有没有人有这方面的经验?

代码语言:javascript
复制
Macintosh-5:barcoden fogonthedowns$ cap deploy:restart
  * executing `deploy:restart'
  * executing "/home/fogonthedowns/owens.fogonthedowns.com/current/script/process/reaper"
    servers: ["owens.fogonthedowns.com"]
Password: 
    [owens.fogonthedowns.com] executing command
 ** [out :: owens.fogonthedowns.com] sh: /home/fogonthedowns/owens.fogonthedowns.com/current/script/process/reaper: Permission denied
    command finished
failed: "sh -c \"/home/fogonthedowns/owens.fogonthedowns.com/current/script/process/reaper\"" on owens.fogonthedowns.com
Macintosh-5:barcoden fogonthedowns$ 
EN

回答 3

Stack Overflow用户

发布于 2014-01-15 05:19:36

作为更新的答案,对于在Passenger上运行的Capistrano 3,我目前正在做的是:

代码语言:javascript
复制
task :restart do
    on roles(:app), in: :sequence, wait: 5 do
      # If your tmp folder does not exist yet, uncomment the 
      # line below to create it.
      # execute :mkdir, "#{File.join(current_path,'tmp')}"
      execute :touch, "#{File.join(current_path,'tmp','restart.txt')}"
    end
end
票数 1
EN

Stack Overflow用户

发布于 2009-11-30 17:41:38

他们有自己的支持论坛,也许你应该去那里试试。http://groups.google.co.uk/group/capistrano/

票数 0
EN

Stack Overflow用户

发布于 2009-12-01 03:41:45

Rails 2.3不再与旧的reaper脚本一起发布。http://www.capify.org/index.php/How_to_use_Capistrano_with_Rails_2.3

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1816978

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档