Sha256: 42f0f765251f9f6d5ba75eb30be47f35212ffade7cb8997953a83e21caa57e93

Contents?: true

Size: 1.08 KB

Versions: 38

Compression:

Stored size: 1.08 KB

Contents

# Generated remote participant for the ruote workflow engine
# (http://openwferu.rubyforge.org)

# Do your post daemonization configuration here
# At minimum you need just the first line (without the block), or a lot
# of strange things might start happening...
DaemonKit::Application.running! do |config|
  # Trap signals with blocks or procs
  # config.trap( 'INT' ) do
  #   # do something clever
  # end
  # config.trap( 'TERM', Proc.new { puts 'Going down' } )
end

# IMPORTANT CONFIGURATION NOTE
#
# Please review and update 'config/amqp.yml' accordingly if you wish to use
# AMQP as a transport mechanism for workitems sent between ruote and this
# daemon.

# Configuration of the remote participant shell
DaemonKit::RuoteParticipants.configure do |config|
  # Use AMQP as a workitem transport mechanism
  config.use :amqp

  # Register your classes as pseudo-participants, with work being delegated
  # according to the 'command' parameter passed in the process definition
  config.register Sample
end

DaemonKit::RuoteParticipants.run do
  # Place any additional daemon-specific code in here...
end

Version data entries

38 entries across 38 versions & 7 rubygems

Version Path
daemon-kit-0.3.3 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.3.2 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
kennethkalmer-daemon-kit-0.1.7.10 daemon_generators/ruote/templates/libexec/daemon.rb
queso-daemon-kit-0.1.7.10 daemon_generators/ruote/templates/libexec/daemon.rb
skaar-daemon-kit-0.1.7.10 daemon_generators/ruote/templates/libexec/daemon.rb
daemon-kit-0.3.1 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.3.0 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.3.0.rc2 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.3.0.rc1 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.2.3 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.2.1 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.2.0 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.1.8.2 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
amqp-daemon-kit-1.0.1 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
amqp-daemon-kit-0.1.8.2 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
amqp-daemon-kit-0.1.8.1 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.1.8.1 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.1.8 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
daemon-kit-0.1.8rc3 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
textgoeshere-daemon-kit-0.1.8.31 lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb