Last active
December 19, 2015 12:48
-
-
Save shrop/5957019 to your computer and use it in GitHub Desktop.
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
| # If memcached is running, flush it. | |
| if [ `sudo /etc/init.d/memcached status` =~ 'memcached is running' ]; then | |
| echo ”flush_all” | nc localhost 11211 | |
| echo "memcached flushed!" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment