Tach,
Habe aktuell das Problem das wenn ich per tmux mir einen command ausfuehren lassen will, das dieser sagt das der Server die connection refused hat.
Das ist mein Code:
Bash: mc-start.sh
#!/bin/sh
# give the session a name; makes it easier to reuse code lines
_SNAME=meinkraft
tmux new-session -s $_SNAME
# can set tmux options
tmux set-option -t $_SNAME default-path /online/iww/mojang/minecraft
# create a new window that's running a program
tmux new-window -t $_SNAME java -Xmx4096M -jar craftbukkit-1.10.2.jar -o true
Alles anzeigen
Hat jemand sowas schon gemacht und kann mir evtl. helfen?
Der genaue Output des Console lautet:
Mein Ziel ist es das ich nur die Shelldatei aufrufen muss und dann tmux darueber den code ausfuehrt.
Regards,
A/