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 127.0.0.1 -p 9999 -c 3 -f #{shared_path}/scgi-children.yml; echo Done." end

Comments

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 (akismet.com). If that's not acceptable for you, you can also reach me by other means.