# --- Boot the Unix servers
$self->launch_unix($apps);
-
- _sleep();
sleep 2;
# --- Boot the listeners
$self->launch_listener($apps);
- _sleep();
+ sleep 1;
_log( " * System is ready..." );
}
}
-# ----------------------------------------------
-
-=head comment
-sub launch_shell {
-
- my $self = shift;
-
- my $pid = OpenSRF::Utils::safe_fork();
-
- if( $pid ) { $self->pid_hash( $pid , _shell() ); }
- else {
- $0 = "System Shell";
- for( my $x = 0; $x != 10; $x++ ) {
- eval _shell();
- if( ! $@ ) { last; }
- }
- exit;
- }
-}
-=cut
-
# ----------------------------------------------
# ----------------------------------------------
-sub _sleep {
- select( undef, undef, undef, 0.3 );
-}
1;