Skip to content

Instantly share code, notes, and snippets.

@paceline
Last active December 21, 2015 00:09
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 paceline/6218439 to your computer and use it in GitHub Desktop.
Save paceline/6218439 to your computer and use it in GitHub Desktop.
A mere collection of start and stop commands for two Rack-based web servers. Might come in handy when testing new deployments.
passenger start -d -e production --pid-file /var/www/sumayaagha.net/tmp/passenger.pid --socket /var/www/sumayaagha.net/tmp/passenger.sock --nginx-version 1.0.5
passenger stop --pid-file /var/www/sumayaagha.net/tmp/passenger.pid
rvm 1.8.7 exec unicorn_rails -D -E production -c /var/www/tuvocabulario.com/current/config/unicorn.rb
rvm 1.9.2 exec unicorn_rails -D -E production -c /var/www/ulfmoehring.net/current/config/unicorn.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment