# Data Engine runtime

## Service management

Data Engine runs as a service and the management is different depending on the system it runs on.

### CClinux 4

The runtime starts as a service and can be controlled by `systemctl`. Use either `enable` or `disable` to control if
Data Engine should autostart or not:

``` console
sudo systemctl enable dataengine
sudo systemctl disable dataengine
```

The service may also be started or stopped while the system is running:

``` console
sudo systemctl start dataengine
sudo systemctl stop dataengine
```

Output from the service can be checked with `journalctl`:

``` console
sudo journalctl -fu dataengine
```

## Startup arguments

```console
$/appfs/bin/dataengineserverApp --help
Data Engine Server version: 3.4.0
Options:
  --help            This text.
  --version         Display version information.
  --debug           Turn debug printouts ON.
  --port <port>     Port the server listen on. [Default: 4661]
  --enableExternalConnections Allow incoming connections from other addresses than localhost. [Default: disabled]
```

### --help

Display the help information.

### --version

Display version information about Data Engine.

### --debug

Activate additional printouts during execution.

### --port

Override default port which clients should connect to.

### --enableExternalConnections

Enables connections from external addresses. By default, only connections from localhost are accepted.
