Skip to content

Commit a9256f2

Browse files
author
Matthew Fisher
committed
ref(rootfs): remove redundant chmod call
1 parent 03ddca5 commit a9256f2

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)