From 5dffad69a067e976a43e23fa3b8a139628956216 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sat, 19 Oct 2019 00:10:03 -0400 Subject: [PATCH] Remembered what the default user:group should be --- entrypoint.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0aa9bb7..ae590e1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,10 @@ #!/bin/sh -#echo "[ INFO ] Recursively setting default nginx:nginx permissions on web directory" -#chown -R nginx:nginx /var/www +echo "[ INFO ] Recursively setting www-data:www-data permissions on root web directory" +chown -R www-data:www-data /var/www + +echo "[ INFO ] Starting MySQL Server" +service mysql start echo "[ INFO ] Starting nginx" nginx -g "daemon off;" # Foreground