Class: Daemons::ApplicationGroup

Class | Daemons::ApplicationGroup
In: | lib/daemons/application_group.rb
Parent: | Object

### Methods

create_monitor find_applications new new_application pidfile_dir setup show_status start_all stop_all zap_all

### Attributes

app_argv | [RW] |
app_name | [R] |
applications | [R] |
controller_argv | [RW] |
dir | [RW] |
dir_mode | [RW] |
monitor | [R] |
multiple | [R] | true if the application is supposed to run in multiple instances
options | [R] | attr_reader :controller
script | [R] |

### Public Class methods

new(app_name, options = {})

### Public Instance methods

create_monitor(an_app)
find_applications(dir)
new_application(add_options = {})
pidfile_dir()
setup()

Setup the application group. Currently this functions calls `find_applications` which finds all running instances of the application and populates the application array.

show_status()
start_all()
stop_all(force = false)
zap_all()

[Validate]