From 6f5c254f4ef0cc2f6b5cc2b8bdaec054a6e8ade8 Mon Sep 17 00:00:00 2001 From: CerberusV1 Date: Wed, 16 Oct 2024 16:36:56 +0200 Subject: [PATCH] some more adjustments --- server_manager.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/server_manager.sh b/server_manager.sh index 151d320..1c176af 100644 --- a/server_manager.sh +++ b/server_manager.sh @@ -121,32 +121,41 @@ while true; do select opt in "${presets[@]}"; do case $opt in "1 GB") - echo "Allocate 1GB of RAM" + echo "------------------------" + echo "Allocated 1GB of RAM" echo "-Xms512M" > "${server}/user_jvm_args.txt" echo "-Xmx1G" >> "${server}/user_jvm_args.txt" ;; "2 GB") - echo "Allocate 2GB of RAM" + echo "------------------------" + echo "Allocated 2GB of RAM" echo "-Xms1G" > "${server}/user_jvm_args.txt" echo "-Xmx2G" >> "${server}/user_jvm_args.txt" ;; "4 GB") - echo "Allocate 4GB of RAM" + echo "------------------------" + echo "Allocated 4GB of RAM" echo "-Xms2G" > "${server}/user_jvm_args.txt" echo "-Xmx4G" >> "${server}/user_jvm_args.txt" ;; "8 GB") - echo "Allocate 8GB of RAM" + echo "------------------------" + echo "Allocated 8GB of RAM" echo "-Xms4G" > "${server}/user_jvm_args.txt" echo "-Xmx8G" >> "${server}/user_jvm_args.txt" ;; "16 GB") - echo "Allocate 16GB of RAM" + echo "------------------------" + echo "Allocated 16GB of RAM" echo "-Xms8G" > "${server}/user_jvm_args.txt" echo "-Xmx16G" >> "${server}/user_jvm_args.txt" ;; "Check") + echo "------------------------" + echo "User Args: " + echo " " cat "${server}/user_jvm_args.txt" + echo " " break ;; *)