Skip to content

Commit 52b9630

Browse files
author
Matthew Fisher
committed
Merge pull request #83 from bacongobbler/remove-redundancy
ref(rootfs): remove redundant chmod call
2 parents 6c0c41f + a9256f2 commit 52b9630

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

rootfs/docker-entrypoint-initdb.d/003_restore_from_backup.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ if [[ $(envdir "$WALE_ENVDIR" wal-e --terse backup-list | wc -l) -gt "1" ]]; the
1919
gosu postgres pg_ctl -D "$PGDATA" -w stop
2020
rm -rf "$PGDATA"
2121
envdir "$WALE_ENVDIR" wal-e backup-fetch "$PGDATA" LATEST
22-
chown -R postgres:postgres "$PGDATA"
23-
chmod 0700 "$PGDATA"
2422
cat << EOF > "$PGDATA/postgresql.conf"
2523
# These settings are initialized by initdb, but they can be changed.
2624
log_timezone = 'UTC'

0 commit comments

Comments
 (0)