Class: Bluepill::ProcessConditions::ZombieProcess
- Inherits:
-
ProcessCondition
- Object
- ProcessCondition
- Bluepill::ProcessConditions::ZombieProcess
- Defined in:
- lib/bluepill/process_conditions/zombie_process.rb
Overview
Process must have cache_actual_pid set to false to function correctly:
process.checks :zombie_process, every: 5.seconds process.cache_actual_pid = false
Instance Method Summary collapse
Methods inherited from ProcessCondition
Constructor Details
This class inherits a constructor from Bluepill::ProcessConditions::ProcessCondition
Instance Method Details
#check(value) ⇒ Object
13 14 15 |
# File 'lib/bluepill/process_conditions/zombie_process.rb', line 13 def check(value) (value =~ /\<defunct\>/).nil? end |