Class: Eye::Dsl::ChildProcessOpts

Inherits:
Opts show all
Defined in:
lib/eye/dsl/child_process_opts.rb

Constant Summary

Constants inherited from Opts

Opts::BOOL_OPTIONS, Opts::INTERVAL_OPTIONS, Opts::STR_OPTIONS

Instance Attribute Summary

Attributes inherited from PureOpts

#config, #full_name, #name, #parent

Instance Method Summary collapse

Methods inherited from Opts

#checks, #clear_bundler_env, #command, #daemonize!, #initialize, #load_env, #nochecks, #nonotify, #notify, #notriggers, #scoped, #set_environment, #set_gid, #set_stdall, #set_stop_command, #set_uid, #skip_group_action, #stop_signals, #stop_signals=, #with_server

Methods inherited from PureOpts

create_options_methods, #disallow_options, #initialize, #nop, #not_seed_options, #use, #with_condition, with_parsed_file

Constructor Details

This class inherits a constructor from Eye::Dsl::Opts

Instance Method Details

#allow_optionsObject


3
4
5
6
# File 'lib/eye/dsl/child_process_opts.rb', line 3

def allow_options
  [:stop_command, :restart_command, :children_update_period,
    :stop_signals, :stop_grace, :stop_timeout, :restart_timeout]
end

#triggers(*args) ⇒ Object Also known as: trigger

Raises:


8
9
10
# File 'lib/eye/dsl/child_process_opts.rb', line 8

def triggers(*args)
  raise Eye::Dsl::Error, 'triggers not allowed in monitor_children'
end