2
require_once("docutil.php");
3
page_head("Core client configuration files, command-line options, and environment variables");
5
The BOINC core client can be controlled by command-line options,
6
configuration files, and environment variables.
8
<b>These features are generally useful only for
11
<h3>Configuration files</h3>
13
BOINC uses the following configuration files.
14
You can pre-populate these files to control BOINC in various ways.
17
list_item("<a href=client_files.php>Account files</a>",
18
"each one describes an attached project."
20
list_item("<a href=prefs_override.php>global_prefs_override.xml</a>",
21
"override global preferences"
23
list_item("<a href=client_msgs.php>cc_config.xml</a>",
24
"turn log messages on/off by category,
25
and other core client configuration options."
27
list_item("<a href=gui_rpc_auth.php>remote_hosts.cfg</a>",
28
"hosts from which remote GUI RPCs is allowed"
30
list_item("<a href=gui_rpc_auth.php>gui_rpc_auth.cfg</a>",
33
list_item("<a href=client_startup.php>project_init.xml</a>",
36
list_item("<a href=client_startup.php>acct_mgr_url.xml</a>",
39
list_item("<a href=client_startup.php>acct_mgr_login.xml</a>",
40
"account manager login"
44
<h3>Command-line options</h3>
47
command-line options that provide minimal control
48
(e.g. the ability attach and detach projects).
50
More detailed control, and the ability to interact
51
with a running client, is provided by the
52
<a href=boinc_cmd.php>BOINC command tool</a>.
57
"Show client options."
59
list_item("--version",
60
"Show client version."
62
list_item("<nobr>--attach_project URL account_key</nobr>",
63
"Attach this computer to a new project."
65
list_item("--show_projects",
66
"Print a list of projects to which this computer is attached."
69
list_item("--detach_project URL",
70
"Detach this computer from a project."
73
list_item("--reset_project URL",
74
"Clear pending work for a project.
75
Use this if there is a problem that is preventing
76
your computer from working."
78
list_item("--update_prefs URL",
79
"Contact a project's server to obtain new preferences.
80
This will also report completed results
81
and get new work if needed."
83
list_item("--return_results_immediately",
84
"Report each result as soon as it's done."
86
list_item("--run_cpu_benchmarks",
88
Do this if you have modified your computer's hardware."
90
list_item("--check_all_logins",
91
"(Unix) If 'run if user active' preference is off,
92
check for input activity on all current logins;
93
default is to check only local mouse/keyboard"
95
list_item("--exit_when_idle",
96
"Get, process and report work, then exit."
98
list_item("--gui_rpc_port N",
99
"Specify port for GUI RPCs"
101
list_item("--allow_remote_gui_rpc",
102
"Allow GUI RPCs from remote hosts"
104
list_item("--dir abs_path",
105
"Use the given directory as BOINC home"
107
list_item("--detach",
108
"Detach from console (Windows only)"
110
list_item("--no_gui_rpc",
111
"Don't allow GUI RPCs."
113
list_item("--daemon",
114
"Linux: detach from controlling terminal; Windows: run as service"
118
<h2>Environment variables</h2>
121
list_item("HTTP_PROXY", "URL of HTTP proxy");
122
list_item("HTTP_USER_NAME", "User name for proxy authentication");
123
list_item("HTTP_USER_PASSWD", "Password for proxy authentication");
124
list_item("SOCKS4_SERVER", "URL of SOCKS 4 server");
125
list_item("SOCKS5_SERVER", "URL of SOCKS 5 server");
126
list_item("SOCKS5_USER", "User name for SOCKS authentication");
127
list_item("SOCKS5_PASSWD", "Password for SOCKS authentication");
130
<h2>Implementation and debugging command-line options</h2>
133
list_item(" --exit_when_idle ",
134
" Exit when we have no work and a scheduling server
135
gives a 'no work' return."
137
list_item(" --no_time_test",
138
" Don't run performance benchmarks; used fixed numbers instead."
140
list_item(" --exit_after_app_start N",
141
" Exit about N seconds after first application starts"
144
" Put client in the background after starting up"
146
list_item(" --skip_cpu_benchmarks",
147
" Don't run CPU benchmarks"
149
list_item(" --file_xfer_giveup_period N",
150
" Specify giveup period for file transfers"
152
list_item(" --started_by_screensaver N",
153
" Passed by screensaver when it launches client"