Hi,
I think I have 'cap deploy' mostly working now, however the last step
calling "reaper" seem to be just restarting the old site, not the new
(i.e. so you don't see the new changes). The symbolic link for
"current" seems to be fine and pointing to the latest directory.
Q1 - Any ideas on how to correct this? That is how can I make sure
reaper, when it restarts, restarts a mongrel process that is linked to
the new rails directory ('current') and not an older directory.
Q2 - How does reaper work? Where is the code. I just see the two
lines requiring "boot", and 'commands/process/reaper'. I'm not sure
where the file for ''commands/process/reaper' is???
Some details:
=======extract=======================
* executing "rm -f /u/apps/myequity/current && ln -s /u/apps/
myequity/releases/20080706112405 /u/apps/myequity/current"
servers: ["10.1.1.1"]
[EMAIL PROTECTED] executing command
command finished
** transaction: commit
* executing `deploy:restart'
* executing "sudo -p 'sudo password: ' -u callagga /u/apps/myequity/
current/script/process/reaper"
servers: ["10.1.1.1"]
[EMAIL PROTECTED] executing command
** [out :: [EMAIL PROTECTED] Restarting 11824
command finished
==============================
=======spin=========
#!/bin/sh
script/process/spawner -p 3001 -i 1
===================
=======extract from deploy.rb======
set :spinner_user, nil
set :runner, "callagga"
set :application, "myequity"
set :repository, "http://10.1.1.1:3690/svn/myequity/trunk"
role :app, "[EMAIL PROTECTED]"
role :web, "[EMAIL PROTECTED]"
role :db, "[EMAIL PROTECTED]", :primary => true
===============
Note: I'm not really sure if I need the first two lines. I think I
put them in as I was googling for ideas.
Thanks
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---