From 130a21bc19f848516b94299c5215988a9898d13b Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Tue, 20 Aug 2019 12:36:01 -0400 Subject: [PATCH] Fixed some log messages --- entrypoint.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index e72664a..aca7539 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,13 +9,13 @@ directory_empty() { echo "[ INFO ] Checking for any existing user files" if directory_empty "var/www/user" then - echo "[ INFO ] No pre-existing files found (New instance)" - echo "[ INFO ] Extracting files into /var/www/" + echo "[ INFO ] No pre-existing user files found (New instance)" + echo "[ INFO ] Extracting all Grav files into /var/www/" tar xz -f /GRAV.tar.gz -C / echo "[ INFO ] Default files have been extracted successfully" else - echo "[ INFO ] Root web directory not empty (Pre-existing instance):" - ls -A /var/www/ + echo "[ INFO ] 'user' directory not empty (Pre-existing instance):" + ls -A /var/www/user/ echo "[ INFO ] Not extracting new files from archive" fi @@ -29,4 +29,4 @@ echo "[ INFO ] Starting cron" crond # Background echo "[ INFO ] Starting nginx" -nginx -g "daemon off;" # Foreground \ No newline at end of file +nginx -g "daemon off;" # Foreground