move the moved call to the right place...
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 2 Nov 2005 16:46:59 +0000 (16:46 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 2 Nov 2005 16:46:59 +0000 (16:46 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@564 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/System.pm

index 0a428bc..c85d4a0 100644 (file)
@@ -141,7 +141,6 @@ sub bootstrap {
                $OpenSRF::Utils::SettingsClient::host_config = 
                        $parser->get_server_config($bsconfig->env->hostname);
 
-               OpenSRF::System->bootstrap_client(client_name => "system_client");
                my $client = OpenSRF::Utils::SettingsClient->new();
                my $apps = $client->config_value("activeapps", "appname");
                if(ref($apps) ne "ARRAY") { $apps = [$apps]; }
@@ -166,6 +165,7 @@ sub bootstrap {
        }
 
        # Launch everything else
+       OpenSRF::System->bootstrap_client(client_name => "system_client");
        my $client = OpenSRF::Utils::SettingsClient->new();
        my $apps = $client->config_value("activeapps", "appname" );
        if(!ref($apps)) { $apps = [$apps]; }