Skip to content

Instantly share code, notes, and snippets.

@ernie
Created April 7, 2011 19:10
Show Gist options
  • Save ernie/908466 to your computer and use it in GitHub Desktop.
Save ernie/908466 to your computer and use it in GitHub Desktop.
A couple of bash functions for use with pow
# These are nothing fancy. Stick them in your .profile for quick access.
# Tail the log of a pow application
function powl {
tail -f ~/.pow/"$1"/log/development.log
}
# Restart a pow application
function powr {
touch ~/.pow/"$1"/tmp/restart.txt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment