Last active
August 29, 2015 14:09
-
-
Save rpassis/0a13809df6c084980a19 to your computer and use it in GitHub Desktop.
Stop postgresql on a Cloud66 rails deployment
This file contains hidden or 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
ps xa | grep postgres: | grep $POSTGRESQL_DATABASE | grep -v grep | awk '{print $1}' | sudo xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment