Jens Krämer

SCGI and SwitchTower

 |  scgi, switchtower, ruby, rails

SwitchTower task for restarting scgi processes:

desc "Restart scgi handlers" task :restart, :roles => :app do run "cd #{current_path}; script/scgi_rails stop -f #{shared_path}/scgi-children.yml || true" run "cd #{current_path}; script/scgi_rails start -e production -h -p 9999 -c 3 -f #{shared_path}/scgi-children.yml; echo Done." end


You can use Markdown here.

For the sake of spam checking any data you submit, including your IP address, will be transferred to the US based Akismet web service ( If that's not acceptable for you, you can also reach me by other means.