|
|
# Running the aLIGO RTS processes under systemd
|
|
|
|
|
|
The RTS now includes [systemd](https://freedesktop.org/wiki/Software/systemd) integration for the RCG modules and the various components of the DAQD system. If you're installing the RTS from native debian packaging systemd support is automatically installed.
|
|
|
|
|
|
For RCG models it is recommended to use the `rtcds` command line interface that comes with the `advligorts-rcg` package for building and installing real-time modules, and enabling/starting/stopping the module processes.
|
|
|
|
|
|
The DAQD components are managed directly with systemd via `systemctl`. The various available services are:
|
|
|
* `rts-daqd.service`: the main DAQD service
|
|
|
* `rts-local_dc.service`: the local data concentrator
|
|
|
* `rts-nds.service`: back-end NDS1 data source
|
|
|
* `rts-edc.service`: stand-alone EPICS data recorder
|
|
|
* `rts-run_number.service`: run number server
|
|
|
|
|
|
The services are controlled via `systemctl`:
|
|
|
```shell
|
|
|
$ sudo systemctl enable rts-daqd.service
|
|
|
$ sudo systemctl start rts-daqd.service
|
|
|
$ sudo systemctl stop rts-daqd.service
|
|
|
```
|
|
|
|
|
|
The various distributed front end transport mechanisms (available in separate `advligorts-transport-*` packages) also include service units:
|
|
|
```shell
|
|
|
$ sudo systemctl enable --now rts-zmq_xmit.service
|
|
|
```
|
|
|
|
|
|
## config for systemd services
|
|
|
|
|
|
The main advligorts config location is the `/etc/advligorts/env` environment file. |