CroatianMeteorNetwork / RMS

RPi Meteor Station
https://globalmeteornetwork.org/
GNU General Public License v3.0
176 stars 49 forks source link

[RFC] Optional tmux session in StartCapture #120

Closed apevec closed 5 months ago

apevec commented 2 years ago

tmux[1] allows access to the running session from another local shell: (vRMS) pi@hr0017:~/source/RMS $ tmux ls RMS: 2 windows (created Sun Feb 20 21:46:55 2022) [80x23]

(vRMS) pi@hr0017:~/source/RMS $ tmux attach -t RMS

[1] tmux is a terminal multiplexer. https://github.com/tmux/tmux/wiki

apevec commented 2 years ago

Proposing this as a draft to check if folks think this would be useful.

End goal is to have a completely headless setup, with all the customizations done during image burning via rpi-imager, without any need for manual first setup via GUI.

dario-zubovic commented 1 year ago

IMO this makes perfect sense, especially for people who want to deploy all-sky-like stations with arrays of multiple cameras, makes the setup easier.

Early on I used to run RMS with screen instead of tmux though :)

I imagine it would be better to allow use of tmux depending on --tmux argument, instead of always using it when available?

apevec commented 5 months ago

I'll close this and start looking instead at containerization https://github.com/lancer73/rms_container