Has anyone managed to get capistrano to restart a jetty on a RHEL server?

I can not get it to work, and I'm not sure why. However capistrano is executing commands, the jetty that gets started up seems somehow tied to the capistrano session, and ends up getting killed when cap logs out of the remote server.

Just trying (run "#{sudo} /etc/init.d/jetty restart"). No errors are reported, but jetty is not running. If I add a "&& sleep 60" on the end, then jetty is started up and runs as long as the sleeping is happening, then it's gone.

I've tried setting :pty => true and :shell => true, neither/both seems to make a difference.

Anyone managed to figure this out, or have any clues?

--
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to