From a6ebf145afab9740936670d7724c9a2e3303667c Mon Sep 17 00:00:00 2001 From: Niels Peretzke Date: Thu, 16 Dec 2021 20:19:47 +0100 Subject: [PATCH] kleiner fix --- control.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/control.sh b/control.sh index ad1ade4..2176536 100644 --- a/control.sh +++ b/control.sh @@ -4,8 +4,8 @@ # (C) 2021 by bithost GbR # ### START CONFIG ### -INSTANCE_NAME='fxserver' -START_CMD='/home/fx-server/run.sh +set onesync on +set onesync_population false +exec server.cfg' +INSTANCE_NAME='DemoProject' +START_CMD='/home/demo/runscript.sh' ### END CONFIG - DO NOT EDIT BELOW THIS MESSAGE!!! ### PS3='Was möchtest du machen? ' @@ -15,7 +15,7 @@ do case $opt in "Server starten") echo "Server wird gestartet..." - tmux new -d -n $INSTANCE_NAME $START_CMD + tmux new-session -d -s $INSTANCE_NAME $START_CMD break ;; "Server stoppen") @@ -41,7 +41,7 @@ do tmux send-keys -t $INSTANCE_NAME.0 'quit' ENTER - tmux new -d -n $INSTANCE_NAME $START_CMD + tmux new-session -d -s $INSTANCE_NAME $START_CMD break ;; "Abbruch")