From f8e2283a69937b98b1ffe52b8d9f68e9c9579a85 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Mon, 4 Jan 2021 22:50:07 +0100 Subject: [PATCH] testing automatic creation of nginx config dir --- nginx/Recipes.conf => Recipes.conf | 0 boot.sh | 3 +++ 2 files changed, 3 insertions(+) rename nginx/Recipes.conf => Recipes.conf (100%) diff --git a/nginx/Recipes.conf b/Recipes.conf similarity index 100% rename from nginx/Recipes.conf rename to Recipes.conf diff --git a/boot.sh b/boot.sh index d76fa75a..e65161ea 100644 --- a/boot.sh +++ b/boot.sh @@ -8,4 +8,7 @@ echo "Done" chmod -R 755 /opt/recipes/mediafiles +mkdir -p /opt/recipes/nginx +cp -u -p /opt/recipes/Recipes.conf /opt/recipes/nginx + exec gunicorn -b :8080 --access-logfile - --error-logfile - --log-level INFO recipes.wsgi \ No newline at end of file