mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-09 22:53:54 +01:00
sf_stream now is a separate systemd service
This commit is contained in:
1 parent
40b8d91c6d
commit
0319773058
2 files changed
+19
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=stream service (to streamvis and live analysis) of JF07
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
Type=idle
|
||||
User=root
|
||||
ExecStart=/usr/bin/sh /home/writer/git/sf_daq_buffer/scripts/JF07-stream.sh
|
||||
TimeoutStartSec=10
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
coreAssociated="20,21,22,23"
|
||||
|
||||
taskset -c ${coreAssociated} /usr/bin/sf_stream tcp://129.129.241.42:9007 25 tcp://192.168.30.29:9107 10
|
||||
Reference in new issue
Block a user