Skip to content

Instantly share code, notes, and snippets.

@mtarnovan
Created April 7, 2010 15:42
Show Gist options
  • Save mtarnovan/359029 to your computer and use it in GitHub Desktop.
Save mtarnovan/359029 to your computer and use it in GitHub Desktop.
unicorn_prestart()
{
cd ${unicorn_dir}
ruby script/ferret_server -e production start
return 0
}
unicorn_prestop()
{
cd ${unicorn_dir}
ruby script/ferret_server -e production stop
return 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment