magic_recipes_two 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21bc8774d1894689f6c7a0041cab57cea56e0797
4
- data.tar.gz: b64dc61aa66c84060b3071259896198506bc0272
3
+ metadata.gz: 5c2b0b7af1195077f81b90071dc367159587c9eb
4
+ data.tar.gz: c887513e209a140402efe284a79dc72cd524be4d
5
5
  SHA512:
6
- metadata.gz: 2f490805d2d4f0e7f013434a05cff99c964660595b92a6ebad24b80f78088dabeab34fd054a484549c3e1c154e52c33830cf720390e022507ab77ec36751e3cd
7
- data.tar.gz: 307400ad78907bd20bfb8e4be5f3f75d29660ce331928f67f776b50fb90c48d9b24fc01bf6a9919bbb0abf060687f14c38234b635c2b90440f8d672c88bbc87b
6
+ metadata.gz: 17954f6767dec62c65fc1203be036fdbdf70d7856416f1a410514d8d3988b865628a09b9e05eb427ea8f1605444a2212f765b8a84b92b44ada9f35f96ce23f2d
7
+ data.tar.gz: c4a8dae99745d9ad2b790a0343bbf938fdbc82d5923ef2bae39eb3fd310688b938198fef2a3595486f055e47db4a9ee754ce7425f2f2226bdb8b10d59333451d
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MagicRecipes
3
- VERSION = "0.0.29"
3
+ VERSION = "0.0.30"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@
3
3
  check process <%= fetch(:application) %>_<%= fetch(:stage) %>_thin_<%= n %> with pidfile <%= deploy_to %>/shared/pids/thin_<%= fetch(:application) %>_<%= fetch(:stage) %>.<%= n %>.pid
4
4
  group thin-<%= fetch(:application) %>
5
5
  group thin-<%= fetch(:stage) %>
6
- start program = "/bin/su - <%= @role.user %> -c 'cd <%= current_path %> ; bundle exec thin start -C config/thin_app_<%= fetch(:stage) %>.yml -o <%= n %>' "
6
+ start program = "/bin/su - <%= @role.user %> -c 'cd <%= current_path %> ;<% if fetch(:monit_thin_with_secret) %> export SECRET_KEY_BASE=<%= fetch(:secrets_key_base) %>; export <%= fetch(:secrets_key_name) %>=<%= fetch(:secrets_key_base) %>;<% end %> bundle exec thin start -C config/thin_app_<%= fetch(:stage) %>.yml -o <%= n %>' "
7
7
  stop program = "/bin/su - <%= @role.user %> -c 'cd <%= current_path %> ; bundle exec thin stop -C config/thin_app_<%= fetch(:stage) %>.yml -o <%= n %>' "
8
8
  if mem > 200.0 MB for 1 cycles then restart
9
9
  if cpu > 50% for 3 cycles then restart
@@ -16,7 +16,4 @@ servers: <%= fetch(:app_instances) %>
16
16
  # user: <%= fetch(:user) %>
17
17
  socket: /tmp/thin.<%= fetch(:application) %>.<%= fetch(:stage) %>.sock
18
18
  daemonize: true
19
- onebyone: <%= fetch(:thin_onebyone) %>
20
- <% if fetch(:monit_thin_with_secret) %>
21
- SECRET_KEY_BASE: <%= fetch(:secrets_key_base) %>
22
- <% end %>
19
+ onebyone: <%= fetch(:thin_onebyone) %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_recipes_two
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel