From 4695d4467fff21af42df69abeaf00504bac67598 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 24 Jul 2014 13:55:29 -0400 Subject: [PATCH] nginx startup: mkdir -p /var/log/nginx nginx will error out if it tries to start up and /var/log/nginx isn't there --- templates/web.template.yml | 1 + 1 file changed, 1 insertion(+) 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: -- 2.25.1