nesquena-cap-recipes 0.2.14 → 0.2.15

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/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 14
2
+ :patch: 15
3
3
  :major: 0
4
4
  :minor: 2
@@ -10,20 +10,20 @@ Capistrano::Configuration.instance(true).load do
10
10
  desc "Stops the memcache server"
11
11
  task :stop, :roles => :app do
12
12
  puts "Stopping the memcache server"
13
- try_sudo "#{memcache_init_path} stop"
13
+ try_sudo "nohup /etc/init.d/memcached stop &"
14
14
  end
15
15
 
16
16
  desc "Starts the memcache server"
17
17
  task :start, :roles => :app do
18
18
  puts "Starting the memcache server"
19
- try_sudo "#{memcache_init_path} start"
19
+ try_sudo "nohup /etc/init.d/memcached start &"
20
20
  end
21
21
 
22
22
  desc "Restarts the memcache server"
23
23
  task :restart, :roles => :app do
24
24
  puts "Restarting the memcache server"
25
25
  memcache.stop
26
- sleep(5) # sleep for 5 seconds to make sure the server has mopped up everything
26
+ sleep(3) # sleep for 3 seconds to make sure the server has mopped up everything
27
27
  memcache.start
28
28
  end
29
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.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi