Browse Source

kleiner fix

main
Niels Peretzke 2 years ago
parent
commit
a6ebf145af
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      control.sh

+ 4
- 4
control.sh View File

@ -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")


Loading…
Cancel
Save