Files
zulip/scripts/setup/flush-memcached
Tim Abbott 8821b269bf flush-memcached: Replace 'set -x' with more clear output.
Similar to `terminate-psql-sessions`, this was just unnecessary spam
output.
2016-10-14 17:10:06 -07:00

7 lines
118 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Flush memcached
echo "Flushing memcached..."
echo 'flush_all' | nc -w 1 localhost 11211