zulip/scripts/setup/flush-memcached

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