Sha256: 68b056508b7bd4574a61b0ff7263f8bd372ac858769afc7c80644a7d9f1d0e59

Contents?: true

Size: 838 Bytes

Versions: 28

Compression:

Stored size: 838 Bytes

Contents

# Adding application
Eye.application '<%= fetch(:application)%>' do
  notify :<%= fetch(:eye_notification_contact) %>, :<%= fetch(:eye_notification_level) %>
  notify :chat_room, :<%= fetch(:eye_notification_level) %>

  load_env '<%= shared_path %>/.rbenv-vars'

  env RBENV_ROOT: "<%= fetch(:rbenv_path) %>"
  env RBENV_VERSION: "<%=fetch(:rbenv_ruby) %>"
  env RAILS_ENV: "<%= fetch(:rails_env) %>"

  # All options inherits down to the config leafs.
  # except `env`, which merging down
  working_dir '<%= current_path %>'
  stdall '<%= shared_path %>/log/eye.log'

  trigger :flapping, times: 10, within: 1.minute, retry_in: 10.minutes

  check :cpu, every: 10.seconds, below: 100, times: 3 # global check for all processes

<% processes.each do |process_name, options| -%>
<%= partial options[:template], binding %>
<% end -%>

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
negroku-2.8.3 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.8.2 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.8.1 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.8.0 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.7.1 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.7.0 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.6.0 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.5.5 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.5.4 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.5.3 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.5.2 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.5.1 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.5.0 lib/negroku/capistrano/templates/eye/application.eye.erb
negroku-2.4.2 lib/negroku/templates/tasks/eye/application.eye.erb
negroku-2.4.1 lib/negroku/templates/tasks/eye/application.eye.erb
negroku-2.4.0 lib/negroku/templates/tasks/eye/application.eye.erb
negroku-2.3.5 lib/negroku/templates/tasks/eye/application.eye.erb
negroku-2.3.4 lib/negroku/templates/tasks/eye/application.eye.erb
negroku-2.3.3 lib/negroku/templates/tasks/eye/application.eye.erb
negroku-2.3.2 lib/negroku/templates/tasks/eye/application.eye.erb