BCDA-APS / bdp_controls

APS-U Beam line Data Pipelines - experiment controls with EPICS and Bluesky
Other
0 stars 1 forks source link

run queueserver in screen session #16

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

Might be nice to run the queueserver in a screen session, like the feedback IOC is run. Sounds like an enhancement feature.

_Originally posted by @prjemian in https://github.com/BCDA-APS/bdp_controls/issues/14#issuecomment-1079389119_

prjemian commented 2 years ago

The software stack

software type what it does
start-re-manager python runs the bluesky-queueserver
run_qs.sh bash run start-re-manager in a conda environment
qserver.sh bash run run_qs.sh in a screen session

Usage

(bluesky_2022_2) prjemian@zap:~/.../bdp_controls/qserver$ ./qserver.sh 
Usage: qserver.sh {start|stop|restart|status|checkup|console|run} [NAME]

    COMMANDS
        console   attach to process console if process is running in screen
        checkup   check that process is running, restart if not
        restart   restart process
        run       run process in console (not screen)
        start     start process
        status    report if process is running
        stop      stop process

    OPTIONAL TERMS