nesquena-cap-recipes 0.3.2 → 0.3.3

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/README.textile CHANGED
@@ -169,6 +169,7 @@ h4. Configuration
169
169
  * memcache_size - the total size of memory to use [default: 64]
170
170
  * memcache_port - the port to start memcache [default: '11211']
171
171
  * memcache_host - the host for memcache [default: '127.0.0.1']
172
+ * memcache_user - the user to run memcache [default: 'nobody']
172
173
 
173
174
  h4. Tasks
174
175
 
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 2
4
+ :patch: 3
@@ -4,6 +4,7 @@ Capistrano::Configuration.instance(true).load do
4
4
  set :memcache_size, '64'
5
5
  set :memcache_port, '11211'
6
6
  set :memcache_host, '127.0.0.1'
7
+ set :memcache_user, 'nobody'
7
8
 
8
9
  namespace :memcache do
9
10
 
@@ -16,7 +17,7 @@ Capistrano::Configuration.instance(true).load do
16
17
  desc "Starts the memcache server"
17
18
  task :start, :roles => :app do
18
19
  puts "Starting the memcache server"
19
- try_sudo "memcached -m #{memcache_size} -p #{memcache_port} -l #{memcache_host}"
20
+ try_sudo "memcached -m #{memcache_size} -p #{memcache_port} -l #{memcache_host} -u #{memcache_user}"
20
21
  end
21
22
 
22
23
  desc "Restarts the memcache server"
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi