Skip to content
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
2 parents a7907cd + 993d9c3 commit e640e2847a762776946f3190890a96544a76dd90 Michael Schiller committed Nov 13, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/caploy/recipes/memcache.rb
View
5 lib/caploy/recipes/memcache.rb
@@ -1,7 +1,7 @@
Capistrano::Configuration.instance.load do
namespace :memcache do
- %(start stop restart status).each do |step|
+ %w(start stop restart status).each do |step|
desc "#{step} memcache"
task step do
try_sudo "service memcached #{step}"
@@ -12,9 +12,6 @@
task :flush do
run %Q{echo "flush_all" | nc -q 2 127.0.0.1 11211}
end
-
- after "deploy:restart", "memcache:flush"
- after "deploy:start", "memcache:flush"
end
end

0 comments on commit e640e28

Please sign in to comment.
Something went wrong with that request. Please try again.