Skip to content

Instantly share code, notes, and snippets.

Created June 18, 2010 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/444342 to your computer and use it in GitHub Desktop.
Save anonymous/444342 to your computer and use it in GitHub Desktop.
#!/bin/bash
rvm_path=/home/capdeploy/.rvm
. /home/capdeploy/.bashrc
cd /srv/cms/current/
thin --daemonize --environment production --port $1 --pid /srv/cms/current/tmp/pids/thin.$1.pid start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment