# ----------------------------------------------
# Bootstraps a single client connection.
+# named params are 'config_file' and 'client_name'
+#
sub bootstrap_client {
my $self = shift;
}
else {
my $apname = "settings";
- $0 = "OpenSRF App ($apname)";
+ #$0 = "OpenSRF App [$apname]";
eval _unixserver( "settings" );
if($@) { die "$@\n"; }
exit;
}
else {
my $apname = $app;
- $0 = "OpenSRF listener ($apname)";
+ $0 = "OpenSRF listener [$apname]";
eval _listener( $app );
exit;
}
}
else {
my $apname = $app;
- $0 = "OpenSRF listener ($apname)";
+ $0 = "OpenSRF listener [$apname]";
eval _listener( $app );
exit;
}
my $app = $self->app();
- $0 = "OpenSRF master ($app)";
+ $0 = "OpenSRF master [$app]";
my $client = OpenSRF::Utils::SettingsClient->new();
$logger->transport("Max Req: " . $client->config_value("apps", $app, "unix_config", "max_requests" ), INFO );
warn "Grabbing Host config for $host\n";
OpenSRF::System->bootstrap_client(client_name => "system_client");
- $session = OpenSRF::AppSession->create( "settings" ) unless $session;
+ $session = OpenSRF::AppSession->create( "opensrf.settings" ) unless $session;
my $bsconfig = OpenSRF::Utils::Config->current;
my $resp;