nesquena-cap-recipes 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "cap-recipes"
8
- GEM_VERSION = "0.2.3"
8
+ GEM_VERSION = "0.2.4"
9
9
  SUMMARY = "Collection of capistrano recipes for apache, passenger, memcache, juggernaut and backgroundrb"
10
10
  AUTHOR = "Nathan Esquenazi"
11
11
  EMAIL = "nesquena@gmail.com"
@@ -1,6 +1,6 @@
1
1
  Capistrano::Configuration.instance(true).load do
2
2
 
3
- set :memcache_init_path, "/etc/init.d/memcache"
3
+ set :memcache_init_path, "/etc/init.d/memcached"
4
4
 
5
5
  # ===============================================================
6
6
  # SERVER MANAGEMENT
@@ -22,7 +22,8 @@ Capistrano::Configuration.instance(true).load do
22
22
  desc "Restarts the memcache server"
23
23
  task :restart, :role => :app do
24
24
  puts "Restarting the memcache server"
25
- sudo "#{memcache_init_path} restart"
25
+ memcache.stop
26
+ memcache.start
26
27
  end
27
28
 
28
29
  # ===============================================================
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nesquena-cap-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-04 00:00:00 -08:00
12
+ date: 2009-01-07 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15