|
|
@ -15,7 +15,7 @@ do |
|
|
|
case $opt in |
|
|
|
"Server starten") |
|
|
|
echo "Server wird gestartet..." |
|
|
|
tmux new -n $INSTANCE_NAME $START_CMD |
|
|
|
tmux new -d -n $INSTANCE_NAME $START_CMD |
|
|
|
break |
|
|
|
;; |
|
|
|
"Server stoppen") |
|
|
@ -41,7 +41,7 @@ do |
|
|
|
|
|
|
|
tmux send-keys -t $INSTANCE_NAME.0 'quit' ENTER |
|
|
|
|
|
|
|
tmux send-keys -t $INSTANCE_NAME.0 $START_CMD ENTER |
|
|
|
tmux new -d -n $INSTANCE_NAME $START_CMD |
|
|
|
break |
|
|
|
;; |
|
|
|
"Abbruch") |
|
|
|