diff --git a/support/systemd/daqd@.service b/support/systemd/rts-daqd.service similarity index 51% rename from support/systemd/daqd@.service rename to support/systemd/rts-daqd.service index e6cd50857592f2b1f01dc79985b2784b8bba7b0c..b88cacd5054ef2697e16adbf24d76c789d2b6fcf 100644 --- a/support/systemd/daqd@.service +++ b/support/systemd/rts-daqd.service @@ -1,10 +1,10 @@ [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] diff --git a/support/systemd/rts-dix_recv.service b/support/systemd/rts-dix_recv.service new file mode 100644 index 0000000000000000000000000000000000000000..60136a70d703549c7f5fe58665b18fbc3f4430c2 --- /dev/null +++ b/support/systemd/rts-dix_recv.service @@ -0,0 +1,17 @@ +[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 diff --git a/support/systemd/rts-dix_xmit.service b/support/systemd/rts-dix_xmit.service new file mode 100644 index 0000000000000000000000000000000000000000..a572f54af225e287293a44cf44dff7ba2d14760a --- /dev/null +++ b/support/systemd/rts-dix_xmit.service @@ -0,0 +1,17 @@ +[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 diff --git a/support/systemd/rts-local_dc.service b/support/systemd/rts-local_dc.service new file mode 100644 index 0000000000000000000000000000000000000000..f8e8affee7cc34915a9bb7d681f859c715bab47c --- /dev/null +++ b/support/systemd/rts-local_dc.service @@ -0,0 +1,17 @@ +[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 diff --git a/support/systemd/nds.service b/support/systemd/rts-nds.service similarity index 100% rename from support/systemd/nds.service rename to support/systemd/rts-nds.service diff --git a/support/systemd/mx_stream.service b/support/systemd/rts-omx_recv.service similarity index 62% rename from support/systemd/mx_stream.service rename to support/systemd/rts-omx_recv.service index e6848ad6f8637960df08416ca4200efa1abcb7fb..e0d5ee7a8525ca49aaebdf34200ab5d5c9bf8063 100644 --- a/support/systemd/mx_stream.service +++ b/support/systemd/rts-omx_recv.service @@ -1,11 +1,12 @@ [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 diff --git a/support/systemd/rts-omx_xmit.service b/support/systemd/rts-omx_xmit.service new file mode 100644 index 0000000000000000000000000000000000000000..1b6dc9b264b53ef4c600edd8294a3a91a15b2107 --- /dev/null +++ b/support/systemd/rts-omx_xmit.service @@ -0,0 +1,17 @@ +[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 diff --git a/support/systemd/run_number.service b/support/systemd/rts-run_number.service similarity index 100% rename from support/systemd/run_number.service rename to support/systemd/rts-run_number.service diff --git a/support/systemd/rts-zmq_recv.service b/support/systemd/rts-zmq_recv.service new file mode 100644 index 0000000000000000000000000000000000000000..943cd1e8263d14d3b5bd806219cb12cf42151ef1 --- /dev/null +++ b/support/systemd/rts-zmq_recv.service @@ -0,0 +1,17 @@ +[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 diff --git a/support/systemd/rts-zmq_xmit.service b/support/systemd/rts-zmq_xmit.service new file mode 100644 index 0000000000000000000000000000000000000000..61b0063961abeb6a91c35f1c597379e80b69ef0c --- /dev/null +++ b/support/systemd/rts-zmq_xmit.service @@ -0,0 +1,17 @@ +[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