Hi, sorry for the delay.

I did as you said with the spin script (/home/rejeep/www/script/
process/spawner -p 8000 -i 2)

But when deploying I get this, and the contents on the server isn't
updated. If I login to the server and restart manually it works fine
though.
$ cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    updating the cached checkout on all servers
  * executing "if [ -d /home/rejeep/www/shared/cached-copy ]; then cd /
home/rejeep/www/shared/cached-copy && git fetch origin && git merge
origin/HEAD; else git clone ~/git/rejeep_www /home/rejeep/www/shared/
cached-copy && cd /home/rejeep/www/shared/cached-copy && git checkout -
b deploy HEAD; fi"
    servers: ["tuxicity.se"]
Password:
    [tuxicity.se] executing command
 ** [err] * refs/remotes/origin/master: fast forward to branch
'master' of /home/rejeep/git/rejeep_www
 ** old..new: f259121..7641fb4
 ** [out] Updating f259121..7641fb4
 ** [out] Fast forward
 ** [out]  app/views/startpage/index.html.erb |    1 -
 ** 1 files changed, 0 insertions(+), 1 deletions(-)
    command finished
    copying the cached version to /home/rejeep/www/releases/
20080505160325
  * executing "cp -RPp /home/rejeep/www/shared/cached-copy /home/
rejeep/www/releases/20080505160325 && (echo
7641fb42e39610e4ee58f164752ab8f93f4c819c > /home/rejeep/www/releases/
20080505160325/REVISION)"
    servers: ["tuxicity.se"]
    [tuxicity.se] executing command
    command finished
  * executing `deploy:finalize_update'
  * executing "chmod -R g+w /home/rejeep/www/releases/20080505160325"
    servers: ["tuxicity.se"]
    [tuxicity.se] executing command
    command finished
  * executing "rm -rf /home/rejeep/www/releases/20080505160325/log /
home/rejeep/www/releases/20080505160325/public/system /home/rejeep/www/
releases/20080505160325/tmp/pids &&\n      mkdir -p /home/rejeep/www/
releases/20080505160325/public &&\n      mkdir -p /home/rejeep/www/
releases/20080505160325/tmp &&\n      ln -s /home/rejeep/www/shared/
log /home/rejeep/www/releases/20080505160325/log &&\n      ln -s /home/
rejeep/www/shared/system /home/rejeep/www/releases/20080505160325/
public/system &&\n      ln -s /home/rejeep/www/shared/pids /home/
rejeep/www/releases/20080505160325/tmp/pids"
    servers: ["tuxicity.se"]
    [tuxicity.se] executing command
    command finished
  * executing "find /home/rejeep/www/releases/20080505160325/public/
images /home/rejeep/www/releases/20080505160325/public/stylesheets /
home/rejeep/www/releases/20080505160325/public/javascripts -exec touch
-t 200805051603.25 {} ';'; true"
    servers: ["tuxicity.se"]
    [tuxicity.se] executing command
    command finished
  * executing `deploy:symlink'
  * executing "rm -f /home/rejeep/www/current && ln -s /home/rejeep/
www/releases/20080505160325 /home/rejeep/www/current"
    servers: ["tuxicity.se"]
    [tuxicity.se] executing command
    command finished
 ** transaction: commit
  * executing `deploy:restart'
  * executing "/home/rejeep/www/current/script/process/reaper"
    servers: ["tuxicity.se"]
    [tuxicity.se] executing command
*** [err :: tuxicity.se] Couldn't find any pid file in '/home/rejeep/
www/releases/20080505160325/tmp/pids' matching 'dispatch.[0-9]*.pid'
*** [err :: tuxicity.se] (also looked for processes matching "/home/
rejeep/www/releases/20080505160325/public/dispatch.fcgi")
    command finished
--~--~---------~--~----~------------~-------~--~----~
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