Created
November 11, 2020 22:55
-
-
Save emailrhoads/ac1854ad1bc056b004b5687fb0a1bc0a to your computer and use it in GitHub Desktop.
[Kill DB connnections] #aws
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
| /etc/init.d/apache2 stop | |
| /etc/init.d/monit stop | |
| ps aux | grep delay >> kill DJs | |
| rake db:drop | |
| rake db:create | |
| rake db:migrate | |
| rake db:seed | |
| /etc/init.d/apache2 restart | |
| /etc/init.d/monit restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment