move the moved call to the right place...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 2 Nov 2005 16:46:59 +0000 (16:46 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 2 Nov 2005 16:46:59 +0000 (16:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1946 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/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]; }