1 #include "osrf_system.h"
3 int main( int argc, char* argv[] ) {
6 fprintf(stderr, "Usage: %s <host> <bootstrap_config> <config_context>\n", argv[0]);
10 fprintf(stderr, "Loading OpenSRF host %s with bootstrap config %s "
11 "and config context %s\n", argv[1], argv[2], argv[3] );
13 char* host = strdup( argv[1] );
14 char* config = strdup( argv[2] );
15 char* context = strdup( argv[3] );
17 init_proc_title( argc, argv );
18 set_proc_title( "OpenSRF System" );
20 osrfSystemBootstrap( host, config, context );