Only one tmux socket is accessible at a time
oatmealine opened this issue · 2 comments
oatmealine commented
When running 2+ servers, only the most recently started server will have its associated tmux socket file work - the other will just say that there are no sessions:
$ doas systemctl restart minecraft-server-dark-firepit
$ doas tmux -S /run/minecraft/gbj.sock attach
no sessions
$ doas systemctl restart minecraft-server-gbj
$ doas tmux -S /run/minecraft/gbj.sock attach
<works perfectly fine>
Infinidoge commented
Yeah I've been running into this too, and honestly I have no idea why this is the case.
Clearly both servers are still running, so the tmux session for the other server is definitely running.
Infinidoge commented