I had the problem that the :restart task did not work properly because
it uses the currrent_path variable which contains the symbolic link to
current. Therefore reaper tries to find a process named like
  /home/<myName>/<myApp>/current/public/dispatch.fcgi
while the actual running process is
  /home/<myName>/<myApp>releases/20061116132946/public/dispatch.fcgi

I changed the restart task from
  send(run_method, "#{current_path}/script/process/reaper")
to
  send(run_method, "`readlink #{current_path}`/script/process/reaper")
which solved the problem.


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to