projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
386da88
)
Ensure directory is created otherwise script `ensure-web-nginx-read` fails.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Mon, 7 Mar 2016 23:30:43 +0000
(07:30 +0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Mon, 7 Mar 2016 23:38:05 +0000
(07:38 +0800)
templates/web.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index b4fdd927e2a0812aa02986ddf6c01044080685d2..5fbe43495b8c227bb8c092928e15ffeb211dfa46 100644
(file)
--- 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: