Greensea processes on a vehicle system are managed by a process server. The process server stores all of the processes that should be running on the system and communicates this information to specific process clients running on individual machines. The process sever maintains the process list in a single configuration file. This configuration file describes the processes, the client in charge of that process, and the run-time parameters of the process. At any given time there is only one active process server coordinating any number of clients. The process sever does not run the processes, only communicates the processes the clients should run. Process clients do not maintain a configuration and simply listen for commands from process servers. There can be multiple process clients on a single machine and across a network.
The following table defines the parameters required for each process in the process server configuration file.
Available Configuration | Description |
client_name |
The name of the client you intend to run the process. |
process_name |
The name of the process to start. This must be an executable file. |
arguments |
The processes' arguments required for proper operation. |
process_cmd |
A command for how the process will be run. Below are the available process commands:
|
publish_console |
Publishes the console output. Available arguments:
|
keep_alive_ms |
The number of milliseconds the keep_alive command sleeps before restarting the process. |
uuid |
A universally unique identifier. A unique identifier to specify the process. If not defined this will be automatically defined. |