If you are not deploying a web application, then there is probably nothing to "restart" after a deploy. Thus, you might want to override the deploy:restart task as well:

  deploy.task :restart do
    # nothing
  end

- Jamis

On Mar 10, 2008, at 9:19 AM, [EMAIL PROTECTED] wrote:


Thanks. It looks much better after i added that line you mentioned.
But i still get this in the output. I dont have any sudo commands in
the script and nothing to do with reaper.

[dev:~/cap/config] deploy$ cap deploy
 * executing `deploy'
 * executing `deploy:update'
** transaction: start
 * executing `deploy:update_code'
 * executing "/opt/csw/bin/svn checkout -q  -r1 svn+ssh://
[EMAIL PROTECTED]/var/repos/stratplace /var/www/html/
_stratplace.com/test/releases/20080310151704 && (echo 1 > /var/www/
html/_stratplace.com/test/releases/20080310151704/REVISION)"
   servers: ["8.12.43.95"]
   [8.12.43.95] executing command
   command finished
 * executing `deploy:finalize_update'
 * executing `deploy:symlink'
 * executing "rm -f /var/www/html/_stratplace.com/test/current && ln -
s /var/www/html/_stratplace.com/test/releases/20080310151704 /var/www/
html/_stratplace.com/test/current"
   servers: ["8.12.43.95"]
   [8.12.43.95] executing command
   command finished
** transaction: commit
 * executing `deploy:restart'
 * executing "sudo -p 'sudo password: ' -u app /var/www/html/
_stratplace.com/test/current/script/process/reaper"
   servers: ["8.12.43.95"]
   [8.12.43.95] executing command
*** [err :: 8.12.43.95] sh: sudo: not found
   command finished
command "sudo -p 'sudo password: ' -u app /var/www/html/
_stratplace.com/test/current/script/process/reaper" failed on
8.12.43.95

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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to