Created
September 8, 2008 19:22
-
-
Save joefiorini/9511 to your computer and use it in GitHub Desktop.
A simple script to restart passenger sites; quicker than typing touch tmp/restart.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require File.dirname(__FILE__) + '/../config/boot' | |
`touch #{RAILS_ROOT}/tmp/restart.txt` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment