le1t0-deprec 2.1.6.066 → 2.1.6.067
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,9 +3,12 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
3
3
|
namespace :deprec do
|
4
4
|
namespace :memcache do
|
5
5
|
|
6
|
-
set :memcache_ip, '
|
6
|
+
set :memcache_ip, 'INDRR_ANY'
|
7
7
|
set :memcache_port, 11211
|
8
|
-
set :memcache_memory,
|
8
|
+
set :memcache_memory, 64
|
9
|
+
set :memcache_factor, 1.25
|
10
|
+
set :memcache_minsize, 48
|
11
|
+
set :memcache_conn, 1024
|
9
12
|
|
10
13
|
SYSTEM_CONFIG_FILES[:memcache] = [
|
11
14
|
|
@@ -16,7 +19,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
16
19
|
|
17
20
|
]
|
18
21
|
|
19
|
-
task :install do
|
22
|
+
task :install, :roles => :memcached do
|
20
23
|
version = 'memcached-1.4.5'
|
21
24
|
set :src_package, {
|
22
25
|
:file => version + '.tar.gz',
|
@@ -15,7 +15,7 @@ set -e
|
|
15
15
|
case "$1" in
|
16
16
|
start)
|
17
17
|
echo -n "Starting $DESC: "
|
18
|
-
start-stop-daemon --start --quiet --exec $DAEMONBOOTSTRAP -- -d -m <%= memcache_memory %> -l <%= memcache_ip %> -p <%= memcache_port %>
|
18
|
+
start-stop-daemon --start --quiet --exec $DAEMONBOOTSTRAP -- -d -m <%= memcache_memory %> -l <%= memcache_ip %> -p <%= memcache_port %> -f <%= memcache_factor %> -s <%= memcache_minsize %> -c <%= memcache_conn %>
|
19
19
|
echo "$NAME."
|
20
20
|
;;
|
21
21
|
stop)
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: le1t0-deprec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 2
|
7
|
-
- 1
|
8
|
-
- 6
|
9
|
-
- 66
|
10
|
-
version: 2.1.6.066
|
4
|
+
prerelease:
|
5
|
+
version: 2.1.6.067
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Le1t0
|
@@ -15,7 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-02-
|
13
|
+
date: 2011-02-25 00:00:00 +01:00
|
19
14
|
default_executable: depify
|
20
15
|
dependencies:
|
21
16
|
- !ruby/object:Gem::Dependency
|
@@ -26,11 +21,6 @@ dependencies:
|
|
26
21
|
requirements:
|
27
22
|
- - "="
|
28
23
|
- !ruby/object:Gem::Version
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 5
|
32
|
-
- 18
|
33
|
-
- 22
|
34
24
|
version: 2.5.18.022
|
35
25
|
type: :runtime
|
36
26
|
version_requirements: *id001
|
@@ -289,21 +279,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
289
279
|
requirements:
|
290
280
|
- - ">="
|
291
281
|
- !ruby/object:Gem::Version
|
292
|
-
segments:
|
293
|
-
- 0
|
294
282
|
version: "0"
|
295
283
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
296
284
|
none: false
|
297
285
|
requirements:
|
298
286
|
- - ">="
|
299
287
|
- !ruby/object:Gem::Version
|
300
|
-
segments:
|
301
|
-
- 0
|
302
288
|
version: "0"
|
303
289
|
requirements: []
|
304
290
|
|
305
291
|
rubyforge_project:
|
306
|
-
rubygems_version: 1.
|
292
|
+
rubygems_version: 1.5.0
|
307
293
|
signing_key:
|
308
294
|
specification_version: 3
|
309
295
|
summary: deployment recipes for capistrano
|