Changeset 11574 for trunk/FACT++/src/scheduler.cc
- Timestamp:
- 07/24/11 20:43:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/scheduler.cc
r11483 r11574 805 805 po::options_description config("Configuration"); 806 806 config.add_options() 807 ("dns", var<string>("localhost"), "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)") 807 ("dns", var<string>("localhost"), "Dim nameserver (overwites DIM_DNS_NODE environment variable)") 808 ("host", var<string>(""), "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)") 808 809 ("log,l", var<string>(n), "Write log-file") 809 810 ("no-dim,d", po_switch(), "Disable dim services") … … 842 843 p.add("schedule", 1); // The first positional options 843 844 844 conf.AddEnv("dns", "DIM_DNS_NODE"); 845 conf.AddEnv("dns", "DIM_DNS_NODE"); 846 conf.AddEnv("host", "DIM_HOST_NODE"); 847 845 848 conf.AddOptions(config); 846 849 conf.AddOptions(control); … … 902 905 } 903 906 904 Dim::Setup(conf.Get<string>("dns") );907 Dim::Setup(conf.Get<string>("dns"), conf.Get<string>("host")); 905 908 906 909 // try
Note:
See TracChangeset
for help on using the changeset viewer.