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:
5c190b1
)
Speed up mass-chown
author
Matt Palmer
<mpalmer@hezmatt.org>
Mon, 27 Aug 2018 00:50:23 +0000
(10:50 +1000)
committer
Matt Palmer
<mpalmer@hezmatt.org>
Mon, 27 Aug 2018 00:50:23 +0000
(10:50 +1000)
templates/web.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index a0b7fa347548416b283c1f91aaef853b6fd3e481..e71ff7e82321b3cc70c2f1829ac70898590342fb 100644
(file)
--- a/
templates/web.template.yml
+++ b/
templates/web.template.yml
@@
-147,7
+147,7
@@
run:
cmd:
# ensure we are on latest bundler
- gem update bundler
- -
chown -R discourse $home
+ -
find $home ! -user discourse -exec chown discourse {} \+
- exec:
cd: $home