diff --git a/Containers/postgresql/start.sh b/Containers/postgresql/start.sh index 02772799..aad235f5 100644 --- a/Containers/postgresql/start.sh +++ b/Containers/postgresql/start.sh @@ -18,11 +18,11 @@ if ! [ -w "$DUMP_DIR" ]; then exit 1 fi -# Delete the datadir once (needed for the migration from debian to alpine) -if ! [ -f "$DUMP_DIR/initial-cleanup-done" ]; then - rm -rf "${DATADIR:?}/"* - touch "$DUMP_DIR/initial-cleanup-done" -fi +# # Delete the datadir once (needed for the migration from debian to alpine) +# if ! [ -f "$DUMP_DIR/initial-cleanup-done" ]; then +# rm -rf "${DATADIR:?}/"* +# touch "$DUMP_DIR/initial-cleanup-done" +# fi # Test if some things match # shellcheck disable=SC2235