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:
245a9b6
)
Make sure the permission is preserved when copying files.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Tue, 3 Apr 2018 05:17:36 +0000
(13:17 +0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Tue, 3 Apr 2018 05:17:36 +0000
(13:17 +0800)
templates/postgres.10.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/postgres.10.template.yml
b/templates/postgres.10.template.yml
index d756309e8adf6e9f10285904199b9d405e8ab938..33baa107f84f2baedf464d4efa68966f786a9b67 100644
(file)
--- a/
templates/postgres.10.template.yml
+++ b/
templates/postgres.10.template.yml
@@
-62,7
+62,7
@@
run:
/etc/init.d/postgresql stop
rm -fr /shared/postgres_data/postmaster.pid
cd ~postgres
- cp /etc/postgresql/${PG_MAJOR_OLD}/main/*.conf /shared/postgres_data
+ cp
-p
/etc/postgresql/${PG_MAJOR_OLD}/main/*.conf /shared/postgres_data
echo >> /shared/postgres_data/postgresql.conf
echo "data_directory = '/shared/postgres_data'" >> /shared/postgres_data/postgresql.conf
SUCCESS=true