magic_recipes_two 0.0.27 → 0.0.28

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ab968aa5ad308040c197df5f828a82c5f69b823
4
- data.tar.gz: 9501dd1122ec6a4d120e8e35c89bba25b4c11583
3
+ metadata.gz: 53ac495aa6bc572fa1ce4d365d1c6e49bcedefe7
4
+ data.tar.gz: baa26970bb1e3e3d947782ea93b02cb9f5e35a5a
5
5
  SHA512:
6
- metadata.gz: 1f776eb327e98a30cb52b92a3d83fc5372ec88f35c22b62815465a879efa055d98d5165cd25c9b7c48972a4badfed72f5c77ff63152d63bd040b57db6f082e78
7
- data.tar.gz: 195f112cb1a9f700854a98683f9b538105504a31b5c9c9882d64e466f7ce225f71ca642970c0b2e6a2aa1bcaafde3ca09015a7c0ad1058dd19969cc0069ac0bc
6
+ metadata.gz: cf8138cbce42a4250c6183f3c623517a128d663798cdfb9b45613b17538e0a14cec126b9c9f818ac5bfe19771e30b82fe04f0ec2baea576b5da468d69aa9b0df
7
+ data.tar.gz: c133b7da045f11b2c86ffa0db71f1d2319e74d2d8b72b5c8c548e06f6f84a3768943d735b746d15c15d4804a927e109a1263a91715d35d8bef09b317f55877ea
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MagicRecipes
3
- VERSION = "0.0.27"
3
+ VERSION = "0.0.28"
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 %> ;<% if fetch(:monit_thin_with_secret) %> export SECRET_KEY_BASE=<%= fetch(:secrets_key_base) %>;<% end %> bundle exec thin start -C config/thin_app_<%= fetch(:stage) %>.yml -o <%= n %>' "
6
+ start program = "/bin/su - <%= @role.user %> -c 'cd <%= current_path %> ; 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,4 +16,8 @@ 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) %>
19
+ onebyone: <%= fetch(:thin_onebyone) %>
20
+ <% if fetch(:monit_thin_with_secret) %>
21
+ SECRET_KEY_BASE: <%= fetch(:secrets_key_base) %>
22
+ <%= fetch(:secrets_key_name, "APP_SECRET_KEY_BASE") %>: <%= fetch(:secrets_key_base) %>
23
+ <% end %>
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.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel