sf_stream now is a separate systemd service

This commit is contained in:
Dmitry Ozerov
2020-05-06 23:03:01 +02:00
committed by babic_a
parent 40b8d91c6d
commit 0319773058
2 changed files with 19 additions and 0 deletions
+14
View File
@@ -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
+5
View File
@@ -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