Skip to content

Instantly share code, notes, and snippets.

@maxim
Created September 4, 2008 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxim/8794 to your computer and use it in GitHub Desktop.
Save maxim/8794 to your computer and use it in GitHub Desktop.
-- here's my start.sh --
cd /var/www/tshirts/current && nohup thin start -e production -p6000 -s3 -d && cd /var/www/tshirts/current && nohup rake jaxer:sync:staging; export DISPLAY=":80" && nohup Xvfb :80 -screen 0 1280x1024x24 & nohup /opt/AptanaJaxer/scripts/start.sh
-- here's my cap deploy:start --
task :start, :roles => [:web, :db, :app] do
run "#{deploy_to}/current/config/start.sh"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment