We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdd7e32 commit 8e5f5c0Copy full SHA for 8e5f5c0
1 file changed
build/postgres-operator/postgres-entrypoint.sh
@@ -6,6 +6,11 @@ if [[ -f ${recovery_file} ]]; then
6
set +o xtrace
7
echo "The $recovery_file file is detected, node entered an infinite sleep"
8
echo "If you want to exit from the infinite sleep, remove the $recovery_file file"
9
+
10
+ if [[ ! -d /tmp/postgres ]]; then
11
+ mkdir -p /tmp/postgres
12
+ fi
13
14
while [ -f "${recovery_file}" ]; do
15
sleep 3
16
done
0 commit comments