From: Michael Brown Date: Thu, 24 Jul 2014 17:55:29 +0000 (-0400) Subject: nginx startup: mkdir -p /var/log/nginx X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4695d4467fff21af42df69abeaf00504bac67598;p=discourse_docker.git nginx startup: mkdir -p /var/log/nginx nginx will error out if it tries to start up and /var/log/nginx isn't there --- diff --git a/templates/web.template.yml b/templates/web.template.yml index 09c51b5..063e79e 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -57,6 +57,7 @@ run: contents: | #!/bin/sh exec 2>&1 + mkdir -p /var/log/nginx exec /usr/sbin/nginx - exec: