magic_recipes_two 0.0.33 → 0.0.34

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTk0ZGM5MDVjNDY3OGUwNjQ0NjcxZjE1MzNlODgzNjYwNjJiODM1OA==
4
+ N2U0OTNiMTNiYmQzNjJmYzU3ZjMwMzNhOWMxZTNjNjE1YjA1ZGQyOA==
5
5
  data.tar.gz: !binary |-
6
- ZWVmZjNmNjYxNWVkOWQwMWExNGZhYzUwZjJhNTVkM2M4ZDI4NWMyZQ==
6
+ ZmU5OGM5ZmVlOWJmNmJlNjc3M2Q5Y2VkZDM4NjVhNWJiNzBkODNkNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODNkYWU0NDBkNzI1OTI3YWFkODY3NmE4YTlhOWU4YjU4ODMzOWEwNjIwOTZi
10
- NTlhZDA3MTFlMDk1NjMzY2U1M2NkMmI1MzhmMDg4NmZhNmY1ZWU3OGM1Zjkz
11
- ODA1Y2JjOTYzY2MzMTFlMzVlNmZlZTg1ODg5YTI0NDdjZWJkMTA=
9
+ NGU4NmVjM2Q2NWVjMzMwZmE0ODE0ZmI3MmNhMzZhZTA4N2Y3OTM4OTJmODk0
10
+ ZTZkZGY3ZGJhNmJmYTI4YzA0NTE4YmY2M2M3ZDU2N2RmNTgzNzE4ZTUzZmE2
11
+ MWU2NWE4NDEzMWQyZDYwZGUwYTA2MmIwZTVlMGZmMjlmNTY0OTY=
12
12
  data.tar.gz: !binary |-
13
- MDc5ODUxNjZjZjY1MjRlODExNGViMzk4MGNkMTlmYTQxZjZlYjBlY2M5Zjlj
14
- NWY1OThhMGZmMmJkZDI3Y2I1N2Y0NDBkYTlhZGVkODc3NWExNTQxMTlhNzM5
15
- MmQ5ZDZlZmU5NjczZDU3OGZmNzE0ZGVkNDBjNDJiNzliNTM2NWQ=
13
+ NWQ0ZTgwY2Q1ODQ4NjhkMWQ0MDhlYjk1ZDAzYzRkNDRlZGVjYmIxZThhNWUx
14
+ ZTA3ZDE5MDlmNzkxYWE4MzU2NzgyNjI0YjE0ZGI2ZDhjN2ZhNzk4ZGVhZGJj
15
+ NDM2ZjFjNDVhZmVlOWUyZTVkYWM3ODM1MzdlOGIzNGU1MDg1Yjc=
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MagicRecipes
3
- VERSION = "0.0.33"
3
+ VERSION = "0.0.34"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@
2
2
  check process redis with pidfile <%= fetch(:redis_pid) %>
3
3
  start program = "/etc/init.d/redis-server start"
4
4
  stop program = "/etc/init.d/redis-server stop"
5
- if does not exist then alert
5
+ # if does not exist then alert
6
6
  if 2 restarts within 3 cycles then timeout
7
7
  if totalmem > 100 Mb then alert
8
8
  if children > 255 for 5 cycles then stop
@@ -22,7 +22,7 @@ check process <%= sidekiq_service_name(idx) %>
22
22
  start program = "/bin/su - <%= @role.user %> -c 'cd <%= current_path %> ;<% if fetch(:monit_sidekiq_with_secret) %> export SECRET_KEY_BASE=<%= fetch(:secrets_key_base) %>; export <%= fetch(:secrets_key_name) %>=<%= fetch(:secrets_key_base) %>;<% end %> bundle exec sidekiq <%= args.join(" ") %>'" with timeout 90 seconds
23
23
  stop program = "/bin/su - <%= @role.user %> -c 'cd <%= current_path %> ; bundle exec sidekiqctl stop <%= pid_file %>' " with timeout 90 seconds
24
24
  group <%= fetch(:sidekiq_monit_group, fetch(:application)) %>-sidekiq
25
- if does not exist then alert
25
+ # if does not exist then alert
26
26
  if totalmem is greater than 200 MB for 2 cycles then restart
27
27
  if 3 restarts within 5 cycles then timeout
28
28
  # alert <%= fetch(:monit_mail_to) %> only on { pid }
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.33
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel