Skip to content

Commit 94ef3c8

Browse files
committed
3.3.0pre
1 parent 9720f24 commit 94ef3c8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

rootfs/container/functions/10-postgres

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
postgres_bootstrap_filesystem() {
66
create_folder \
77
"${CERT_PATH},\
8-
${CONFIG_PATH},\
9-
${LOG_PATH}" \
8+
${LOG_PATH}, \
9+
/etc/postgres"
1010
postgres:postgres 755
1111

1212
if [ -n "${CONFIG_PATH}" ] ; then
@@ -228,7 +228,7 @@ postgres_configure_server() {
228228
-E "s|${pattern}[[:space:]]*.*|${key} = ${value}|g"
229229
"${file}"
230230
else
231-
echo "${key} = ${value}" | s6-setuidgid tee -a "${file}"
231+
echo "${key} = ${value}" | s6-setuidgid postgres tee -a "${file}"
232232
fi
233233
}
234234

rootfs/container/run/available/10-postgres/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ liftoff
2222

2323
print_start "Starting PostgreSQL $(psql --version | head -n 1 | awk '{print $NF}')"
2424
TZ="${TIMEZONE}" ${hide_output} exec s6-setuidgid postgres postgres \
25-
--config_file="${engine_config}" ${POSTGRES_ARGS}
25+
--config_file="${engine_config}" ${SERVER_ARGS}

0 commit comments

Comments
 (0)