Skip to content

Instantly share code, notes, and snippets.

@bonkydog
Created September 23, 2010 16:35
Show Gist options
  • Save bonkydog/593934 to your computer and use it in GitHub Desktop.
Save bonkydog/593934 to your computer and use it in GitHub Desktop.
sudo monit status | grep mongrel | ruby -n -e '$_ =~ /(mongrel_\w+)/; puts $1' | xargs -n1 sudo monit restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment