From 2191df8bd4fe568788a955b83666515343e4c7cd Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 8 Mar 2016 07:30:43 +0800 Subject: [PATCH] Ensure directory is created otherwise script `ensure-web-nginx-read` fails. --- templates/web.template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/web.template.yml b/templates/web.template.yml index b4fdd92..5fbe434 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -39,6 +39,7 @@ run: chmod: "+x" contents: | #!/bin/bash + mkdir -p /var/log/nginx chgrp -R www-data /var/log/nginx chgrp www-data /var/log/nginx @@ -60,7 +61,6 @@ run: contents: | #!/bin/sh exec 2>&1 - mkdir -p /var/log/nginx exec /usr/sbin/nginx - file: -- 2.25.1