Class: RegenwolkeAutons::Core
- Inherits:
-
Object
- Object
- RegenwolkeAutons::Core
- Defined in:
- lib/regenwolke_autons.rb
Class Method Summary collapse
Class Method Details
.init ⇒ Object
10 11 12 13 14 15 |
# File 'lib/regenwolke_autons.rb', line 10 def self.init unless Celluloid::Actor[:nestene_core].auton_names.include?('nginx') Celluloid::Actor[:nestene_core].create_auton('RegenwolkeAutons::NginxAuton','nginx') Celluloid::Actor[:nestene_core].schedule_step('nginx', 'start') end end |