From 1af7a22460dafe12f22f9b564d946f3d583f4cb0 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 6 Dec 2015 03:44:47 +0100 Subject: debuging images and improve startup display --- Services/nodejs/run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Services/nodejs/run.sh') diff --git a/Services/nodejs/run.sh b/Services/nodejs/run.sh index 366446c..1bd6a50 100644 --- a/Services/nodejs/run.sh +++ b/Services/nodejs/run.sh @@ -22,12 +22,12 @@ function display_container_nodejs_header { if [ -v CONTAINER_TYPE ]; then echo "| Type : $CONTAINER_TYPE" fi - if [ -v CONTAINER_INSTANCE ]; then - echo "| Instance : $CONTAINER_INSTANCE" - fi if [ -v CONTAINER_SERVICE ]; then echo "| Service : $CONTAINER_SERVICE" fi + if [ -v CONTAINER_INSTANCE ]; then + echo "| Instance : $CONTAINER_INSTANCE" + fi if [ -v APP_PATH ]; then echo "| App path : $APP_PATH" fi @@ -46,7 +46,7 @@ function begin_config { FILE_LIST=$(find $TMP_APP_PATH -maxdepth 1 -mindepth 1 -printf "%f\n") for FILE in $FILE_LIST; do echo -n "adding $APP_PATH/$FILE" - mv -f $TMP_APP_PATH/$FILE $APP_PATH/ + cp -r $TMP_APP_PATH/$FILE $APP_PATH/ echo " DONE" done fi -- cgit v1.2.3