# Cruise Control RHEL 

**Note**: All commands should be run from the `cruise-control` folder root.

## Configuration

All Cruise Control settings can be set in the configuration file located at `config/cruisecontrol.properties`. 

## Start as foreground process

Then run the following command:

```bash
$ bin/cruise-control-start.sh config/cruisecontrol.properties
```

This will run cruise-control as a foreground process and display all logging in the console. To end the process hit `CTRL+C`.

## Start as a daemon process

You can start Cruise control as a background daemon by adding the `-daemon` flag to the start up command:

```bash
$ bin/cruise-control-start.sh -daemon config/cruisecontrol.properties
```

This will run Cruise Control as a background process. To stop the Cruise Control daemon, run the stop script which will find the process and kill it:

```bash
$ bin/cruise-control-stop.sh
```

