Changes between Version 1 and Version 2 of ManagerImpl


Ignore:
Timestamp:
07/07/10 00:30:44 (7 years ago)
Author:
charlief
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ManagerImpl

    v1 v2  
    22
    33= Launching the BOINC Client from the BOINC Manager =
    4 
     4'''Last updated 7/7/10'''
    55
    66This is a proposed specification for launching the BOINC Client.
     
    2323== Windows ==
    2424
    25   When the manager is launched, it launches the Client only if the Client was not already running.
     25When the Manager is launched, it launches the Client only if the Client was not already running.
    2626
    27   If it detects that the Client has stopped running, it automatically relaunches the Client only if:
     27If it detects that the Client has stopped running, it automatically relaunches the Client only if:
    2828   * the connected Client was on the same (local) computer,
    2929   and
    3030   * the Client was originally launched by the Manager.
    3131
    32   The location of the Client executable and the Client's data directory are read from the Windows System Registry.  The information was written there by the BOINC installer.
     32The location of the Client executable and the Client's data directory are read from the Windows System Registry.  The information was written there by the BOINC installer.
    3333
    3434
     
    3636
    3737
    38  When the manager is launched, it launches the Client only if the Client was not already running.
     38When the Manager is launched, it launches the Client only if the Client was not already running.
    3939
    40   If it detects that the Client has stopped running, it automatically relaunches the Client only if:
    41    * the connected Client was on the same (local) computer,
     40If it detects that the Client has stopped running, it automatically relaunches the Client only if:
     41   * the connected Client was on the same (local) computer.
    4242
    4343On the Mac, the Manager can restart the Client even if it had been running as a service, so it restarts the local Client whether or not the Client was originally launched by the Manager.
    4444
    45   The Client executable is embedded in the Manager's application bundle.
     45The Client executable is embedded in the Manager's application bundle.
    4646 
    47   The Client's data directory is at the fixed path:
    48                 /Library/Application Support/BOINC Data/
     47The Client's data directory is at the fixed path:
     48                `/Library/Application Support/BOINC Data/`
    4949
    5050 
     
    5252
    5353
    54   Under Linux, the Client executable and data directories can be located anywhere.  The executable maybe in the data directory or anywhere else.  This limits the ability of the Manager to launch the Client.
     54Under Linux, the Client executable and data directories can be located anywhere.  The executable maybe in the data directory or anywhere else.  This limits the ability of the Manager to launch the Client.
    5555
    56   When the manager is launched, it launches the Client only if the Client was not already running. 
     56When the Manager is launched, it launches the Client only if the Client was not already running. 
    5757
    58   By default, it assumes that the Client executable and its data are in the same directory as the Manager executable.  If the Client executable is not in the expected directory, the attempt to launch the Client fails and an alert is displayed informing the user.
     58By default, it assumes that the Client executable and its data are in the same directory as the Manager executable.  If the Client executable is not in the expected directory, the attempt to launch the Client fails and an alert is displayed informing the user.
    5959
    60   The default directories for launching the Client can be changed by passing command-line arguments to the Manager:
    61   The directory containing the Client executable can be specified by either
    62      -e <path>
    63    or
    64      --clientdir=<path>
     60The default directories for launching the Client can be changed by passing command-line arguments to the Manager:
     61The directory containing the Client executable can be specified by either
     62{{{
     63-e <path>
     64}}}
     65or
     66{{{
     67--clientdir=<path>
     68}}}
    6569
    66   The BOINC data directory can be specified by either
    67     -d <path>
    68   or
    69     --datadir=<path>
     70The BOINC data directory can be specified by either
     71{{{
     72-d <path>
     73}}}
     74or
     75{{{
     76--datadir=<path>
     77}}}
    7078
    7179  If clientdir is not specified, then the Client executable is assumed to be in the same directory as the Manager executable.
     
    7381  If datadir is not specified, then the data directory is assumed to be the same as the directory containing the Client executable.
    7482
    75   If it detects that the Client has stopped running, it automatically relaunches the Client only if it originally launched the Client successfully.
     83  If the Manager detects that the Client has stopped running, it automatically relaunches the Client only if it originally launched the Client successfully.