From 5bbca7bf241ee420c5a633ede896d7f76f98f476 Mon Sep 17 00:00:00 2001 From: Niels Peretzke Date: Wed, 15 Dec 2021 23:01:39 +0100 Subject: [PATCH] tmux Session wird nun detached gestartet --- control.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/control.sh b/control.sh index 066a8ae..e2bc733 100644 --- a/control.sh +++ b/control.sh @@ -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")