Sha256: d55422cf51768b067bc0bcc2d88f15c08078786107e0db310afa84f7b149115d
Contents?: true
Size: 279 Bytes
Versions: 6
Compression:
Stored size: 279 Bytes
Contents
namespace :memcache do %w(start stop restart status).each do |step| desc "#{step} memcache" task step do try_sudo "service memcached #{step}" end end desc "Flush memcache" task :flush do run %Q{echo "flush_all" | nc -q 2 127.0.0.1 11211} end end
Version data entries
6 entries across 6 versions & 1 rubygems