Skip to content
Snippets Groups Projects
Commit 2bdeb680 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

update systemd service files for new daqd architecture

We now have a single daqd service, and separate services for all the
new front end transport components ({zmq,omx,dix}_{xmit,recv},
local_dc, etc.).

The assumption for all the transport services is that the
/etc/advligorts/env file exists and defines environment variables
specifying the command line arguments for each service, e.g.:

ZMQ_XMIT_ARGS=-e eth0 -s x1tst

The daqd service expects configuration at /etc/advligorts/daqdrc.
parent f6527758
No related branches found
No related tags found
1 merge request!8update systemd service files for new daqd architecture
[Unit]
Description=Advanced LIGO RTS daqd_%i
Description=Advanced LIGO RTS DAQD
After=network-online.target
[Service]
User=controls
ExecStart=/bin/sh -c "/usr/bin/daqd_%i -c /etc/advligorts/daqdrc.%i"
ExecStart=/usr/bin/daqd_shmem -c /etc/advligorts/daqdrc
Restart=always
[Install]
......
[Unit]
Description=Advanced LIGO RTS Dolphin IX receiver
After=network-online.target
[Service]
User=controls
Type=simple
EnvironmentFile=/etc/advligorts/env
ExecStart=/usr/bin/dix_recv $DIX_RECV_ARGS
StandardOutput=journal
StandardError=journal
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target
[Unit]
Description=Advanced LIGO RTS Dolphin IX transmitter
After=network-online.target
[Service]
User=controls
Type=simple
EnvironmentFile=/etc/advligorts/env
ExecStart=/usr/bin/dix_xmit $DIX_XMIT_ARGS
StandardOutput=journal
StandardError=journal
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target
[Unit]
Description=Advanced LIGO RTS local data concentrator
After=network-online.target
[Service]
User=controls
Type=simple
EnvironmentFile=/etc/advligorts/env
ExecStart=/usr/bin/local_dc $LOCAL_DC_ARGS
StandardOutput=journal
StandardError=journal
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target
File moved
[Unit]
Description=Advanced LIGO RTS front end mx stream
Description=Advanced LIGO RTS OpenMX receiver
After=network-online.target
[Service]
User=controls
Type=simple
ExecStart=/etc/advligorts/mx_stream_exec
EnvironmentFile=/etc/advligorts/env
ExecStart=/usr/bin/omx_recv $OMX_RECV_ARGS
StandardOutput=journal
StandardError=journal
Restart=always
......
[Unit]
Description=Advanced LIGO RTS OpenMX transmitter
After=network-online.target
[Service]
User=controls
Type=simple
EnvironmentFile=/etc/advligorts/env
ExecStart=/usr/bin/omx_xmit $OMX_XMIT_ARGS
StandardOutput=journal
StandardError=journal
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target
[Unit]
Description=Advanced LIGO RTS ZeroMQ receiver
After=network-online.target
[Service]
User=controls
Type=simple
EnvironmentFile=/etc/advligorts/env
ExecStart=/usr/bin/zmq_recv $ZMQ_RECV_ARGS
StandardOutput=journal
StandardError=journal
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target
[Unit]
Description=Advanced LIGO RTS ZeroMQ transmitter
After=network-online.target
[Service]
User=controls
Type=simple
EnvironmentFile=/etc/advligorts/env
ExecStart=/usr/bin/zmq_xmit $ZMQ_XMIT_ARGS
StandardOutput=journal
StandardError=journal
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment