> I have overridden 'deploy:restart' for Litespeed. The restart task
> fails the first time it is run, but is successful when run for a
> period of time immediately after.
>
> First run: (failure?)
> executing "sudo -p 'sudo password: ' /opt/lsws/bin/lswsctrl restart"
> servers: ["test.local"]
> *** [err :: test.local:2222] executing command
>
> Second run: (success)
> executing "sudo -p 'sudo password: ' /opt/lsws/bin/lswsctrl restart"
> servers: ["test.local"]
> [test.local:2222] executing command
>
> Any ideas what is causing this error? Or, any suggestions on how to
> extract error information besides just "err"?

Is litespeed running before that first run?  Check /opt/lsws/logs in the 
error/stderr log files... those typically have more information.

-philip

--~--~---------~--~----~------------~-------~--~----~
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