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:
56032fc
)
Generate locale based on LANG before setting up Postgres.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Thu, 26 Apr 2018 03:29:34 +0000
(11:29 +0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Thu, 26 Apr 2018 03:30:24 +0000
(11:30 +0800)
templates/postgres.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/postgres.template.yml
b/templates/postgres.template.yml
index 63c1eaddedf7f1ae2b3466b265d8c6db354c2da5..a970dcc7f575fa1d8d4d47f9f443793d61b3553e 100644
(file)
--- a/
templates/postgres.template.yml
+++ b/
templates/postgres.template.yml
@@
-19,6
+19,7
@@
hooks:
to: sv start postgres || exit 1
run:
+ - exec: locale-gen $LANG && update-locale
- exec: mkdir -p /shared/postgres_run
- exec: chown postgres:postgres /shared/postgres_run
- exec: chmod 775 /shared/postgres_run