Sha256: f06a577e8a0511203d91e9089a4d82c59b5c91b50addbae2bda7d43051d8d416

Contents?: true

Size: 709 Bytes

Versions: 13

Compression:

Stored size: 709 Bytes

Contents

Houston.config do
  on "daemon:scheduler:restart" do
    slack_send_message_to "The thread running Rufus::Scheduler errored out and is attempting to recover", "general"
  end

  on "daemon:scheduler:stop" do
    slack_send_message_to ":rotating_light: The thread running Rufus::Scheduler has terminated", "general"
  end

  on "daemon:slack:restart" do
    slack_send_message_to "The thread running Slack errored out and is attempting to recover", "general"
  end

  on "daemon:slack:stop" do
    slack_send_message_to ":rotating_light: The thread running Slack has terminated", "general"
  end

  on "slack:error" do |args|
    slack_send_message_to "An error occurred\n#{args.inspect}", "general"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
houston-core-0.7.0.beta3 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.7.0.beta2 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.7.0.beta templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.6.3 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.6.2 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.6.1 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.6.0 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.5.6 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.5.5 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.5.4 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.5.3 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.5.2 templates/new-instance/config/triggers/daemons/health.rb
houston-core-0.5.1 templates/new-instance/config/triggers/daemons/health.rb