chore: minor clean up
parent
6c1f36bef9
commit
f34b13b347
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue