From f34b13b347f03ecb29f0dc7318ddb4f879881b87 Mon Sep 17 00:00:00 2001 From: Davide Polonio Date: Thu, 25 May 2023 11:41:14 +0200 Subject: [PATCH] chore: minor clean up --- vrising/src/vrising.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vrising/src/vrising.sh b/vrising/src/vrising.sh index b82757d..244eeba 100755 --- a/vrising/src/vrising.sh +++ b/vrising/src/vrising.sh @@ -41,7 +41,7 @@ editCompose() { (cd "${VRISING_COMPOSE_HOME}" && docker-compose down -v) nano "${full_path_file_to_edit}" log "File edit - ${full_path_file_to_edit}" - stdout "The server will now be recreated and you will be attached to the logs." + stdout "The server will be now recreated and you will be attached to the logs." stdout "Use ctrl-c to disconnect from the server" log "Server recreate" (cd "${VRISING_COMPOSE_HOME}" && sleep 1 && docker-compose up -d && docker-compose logs -f) @@ -70,6 +70,7 @@ THIS_LOG="${LOGS_FOLDER}/${USERNAME}-$(date --iso-8601=ns).log" mkdir -p "${LOGS_FOLDER}" || (stderr "Unable to create logs folder, exiting" && exit 1) stdout "Welcome ${USERNAME}, please remember that your current activity in the server is logged!" +stdout "With ctrl-c you will instantly disconnected from the server" while true do @@ -99,7 +100,7 @@ Select one of the following actions: editWithRestart "${BASE_VRISING_FOLDER}${HOST_SETTINGS}" ;; 3) - editCompose "${VRISING_COMPOSE_HOME}/docker-compose.yml" + editCompose "${VRISING_COMPOSE_HOME}docker-compose.yml" ;; 4) stdout "Use ctrl-c to disconnect from the server at any time"