| Class | Adhearsion::Initializer |
| In: |
lib/adhearsion/initializer.rb
lib/adhearsion/initializer/asterisk.rb lib/adhearsion/initializer/database.rb lib/adhearsion/initializer/drb.rb lib/adhearsion/initializer/rails.rb |
| Parent: | Object |
| DEFAULT_RULES | = | { :pattern => "*.rb", :directory => "helpers"} |
| daemon | [R] | |
| path | [R] | |
| pid_file | [R] |
Creation of pid_files
- You may want to have Adhearsion create a process identification file when it boots so that a crash monitoring program such as Monit can reboot if necessary of so the init script can kill it for system shutdowns. - To have Adhearsion create a pid file in the default location (i.e. AHN_INSTALL_DIR/adhearsion.pid), supply :pid_file with 'true'. Otherwise one is not created UNLESS it is running in daemon mode, in which case one is created. You can force Adhearsion to not create one even in daemon mode by supplying "false".