lib/capistrano-deploy-management/memcached.rb in capistrano-deploy-management-0.1.0 vs lib/capistrano-deploy-management/memcached.rb in capistrano-deploy-management-0.1.1

- old
+ new

@@ -1,9 +1,10 @@ module CapistranoDeployManagement module Memcached def self.load_into(configuration) configuration.load do + namespace :deploy do namespace :memcached do desc "Restart the Memcache daemon." task :restart, :roles => :app do deploy.memcached.stop @@ -20,9 +21,10 @@ pid_file = "#{current_path}/shared/log/memcached.pid" invoke_command("killall -9 memcached", :via => run_method) if File.exist?(pid_file) end end end + end end end -end +end \ No newline at end of file