Skip to content

Instantly share code, notes, and snippets.

@rrrodrigo
Created September 29, 2010 12:35
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 rrrodrigo/602675 to your computer and use it in GitHub Desktop.
Save rrrodrigo/602675 to your computer and use it in GitHub Desktop.
sample initscript for a Rails app, using Capistrano locally to start the services after a reboot
We couldn’t find any files to show.
@rrrodrigo
Copy link
Author

/web/rails/4boot in this case contains a separate repository clone, which together with a separate rvm gemset is used to start/stop/restart the services with the init script

To use Capistrano locally, first add your ~/.ssh/id_rsa.pub to ~/.ssh/authorized_keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment