From d3e6e579af7685e5bc519e14de28555945792845 Mon Sep 17 00:00:00 2001 From: "vdeo@scexao6" Date: Thu, 5 Oct 2023 03:30:40 +0000 Subject: [PATCH] milk-streamFITSlog: remove pstop, make rstart and rstop --- src/COREMOD_memory/scripts/milk-streamFITSlog | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/COREMOD_memory/scripts/milk-streamFITSlog b/src/COREMOD_memory/scripts/milk-streamFITSlog index 85a1046c..2dd9260d 100755 --- a/src/COREMOD_memory/scripts/milk-streamFITSlog +++ b/src/COREMOD_memory/scripts/milk-streamFITSlog @@ -30,7 +30,8 @@ cd ${milkFITSloggerdir} MSextdescr=" List of actions: pstart start log process - pstop stop log process + rstop stop log RUN process + rstart start log RUN process kill kill log process and tmux on set logging ON off set logging OFF @@ -343,9 +344,14 @@ if [ ${ACTION} == "set" ]; then fi +if [ ${ACTION} == "rstart" ]; then + echo "action = rstart" + ACTIONOK=1 + echo "runstart streamFITSlog-${STREAMNAME}" >> ${fifoname} + runupdatesfps +fi - -if [ ${ACTION} == "pstop" ]; then +if [ ${ACTION} == "rstop" ]; then echo "action = pstop" ACTIONOK=1 echo "runstop streamFITSlog-${STREAMNAME}" >> ${fifoname} @@ -394,7 +400,6 @@ if [ ${ACTION} == "kill" ]; then fi - if [ ${ACTION} == "get" ]; then echo "action = get" ACTIONOK=1