Skip to content

Commit

Permalink
milk-streamFITSlog: remove pstop, make rstart and rstop
Browse files Browse the repository at this point in the history
  • Loading branch information
DasVinch authored and scexao6 committed Oct 5, 2023
1 parent 29bcd8f commit d3e6e57
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/COREMOD_memory/scripts/milk-streamFITSlog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -394,7 +400,6 @@ if [ ${ACTION} == "kill" ]; then
fi



if [ ${ACTION} == "get" ]; then
echo "action = get"
ACTIONOK=1
Expand Down

0 comments on commit d3e6e57

Please sign in to comment.