danarchy_deploy 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/danarchy_deploy/services/mongodb.rb +2 -2
- data/lib/danarchy_deploy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5d4b100fde493fb91243e22403bac644464abadb83dbad8349b176e446c89be
|
4
|
+
data.tar.gz: c84e887dad0c9c2f642a761b0f664a974e262092022f121446301b69f78a1694
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2fce9b195ce710f30e7d8c106cef2a5e7623ba2c8afed51056bc7bfe88f3744129eb09139adf87217a00c40d52e319406330d020eb530029c41ac79921bf6a7
|
7
|
+
data.tar.gz: ffd1aaef29c57166f6c834ae150f5e95fe9fa1af791023666ca20416d29af611ed1a409a6bb7b52aa7871664633d9bf5281a26b20073174c31119b29f862e617
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
danarchy_deploy (0.2.
|
4
|
+
danarchy_deploy (0.2.4)
|
5
5
|
danarchy_couchdb (~> 0.1.0)
|
6
6
|
mongo (~> 2.13)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
bson (4.
|
11
|
+
bson (4.11.0)
|
12
12
|
danarchy_couchdb (0.1.2)
|
13
13
|
mongo (2.13.1)
|
14
14
|
bson (>= 4.8.2, < 5.0.0)
|
@@ -60,8 +60,8 @@ module DanarchyDeploy
|
|
60
60
|
|
61
61
|
def self.generate_mongodb_conf
|
62
62
|
if File.readlines('/etc/security/limits.conf').grep(/mongodb/).empty?
|
63
|
-
entry =
|
64
|
-
entry +=
|
63
|
+
entry = "mongodb soft nofile 32000\n"
|
64
|
+
entry += "mongodb hard nofile 64000\n"
|
65
65
|
File.open('/etc/security/limits.conf', 'a+') do |f|
|
66
66
|
f.write entry
|
67
67
|
end
|