Files
zulip/scripts/setup/flush-memcached
acrefoot cf15b0b4e6 Fix hanging nc and 'invalid wait time' error on Trusty.
Apparently, 0 isn't a supported wait time value in some versions of nc.
2016-06-02 18:02:13 -07:00

7 lines
96 B
Bash
Executable File

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