made event ok lines more consistant
[urisagit/Stem.git] / conf / proc.stem
1 [
2         class   =>      'Stem::Console',
3 ],
4 [
5         'class' =>      'Stem::Hub',
6         'name'  =>      'proc',
7         'args'  =>      [],
8 ],
9
10 # this portal listens for the driver hub
11 [
12         'class' =>      'Stem::Portal',
13         'name'  =>      'Echo',
14         'args'  =>      [
15                 'host'          => '',
16                 'port'          => 10001,
17                 'server'        => 1
18         ],
19 ],
20 [
21         class   =>      'Stem::Proc',
22         name    =>      'echo',
23         args    =>      [
24                 path            => './bin/echo_worker.pl',
25                 spawn_now       => 1,
26                 cell_attr       => [
27                         'worker_mode'           => 1,
28                 ],
29         ],
30 ],