Hi !
Following the manual, section 2.6 describes how to replace the restart
task. Since I’m using Lighttpd and SCGI, I did the following:
desc “Restart the web server”
task :restart, :roles => :app do
sudo “cd #{deploy_to}/#{current} && scgi_cluster stop <
#{deploy_to}/#{current}/config/.password”
sudo “cd #{deploy_to}/#{current} && scgi_cluster start”
end
Is it normal that I have to build the path myself ? Is there a
variable that’s not mentionned anywhere that returns the whole path at
once, instead of having to build it myself, piecemeal ?
If not, I know I can build it myself, using a Proc, near the start of
deploy.rb.
Thanks !