Answer the question
In order to leave comments, you need to log in
How to start multiple tmux sessions using bash script?
There are several python bots, I wanted to write a script so that it automatically starts a tmux session and starts a bot in it. I don't quite understand how to do this, can you show an example?
Answer the question
In order to leave comments, you need to log in
Why run bots in tmux at all?
You need to run them using your distribution's initialization system. Most likely, you have systemd, so you should use it. Create a unit file for each bot and add it to autorun.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question