Update entrypoint.sh
Browse files- entrypoint.sh +2 -1
entrypoint.sh
CHANGED
@@ -7,5 +7,6 @@ if [ -z "$(ls -A /var/lib/postgresql/data)" ]; then
|
|
7 |
fi
|
8 |
|
9 |
# Start the PostgreSQL server
|
10 |
-
exec /usr/bin/postgres -D /var/lib/postgresql/data
|
|
|
11 |
echo "server started successfully............."
|
|
|
7 |
fi
|
8 |
|
9 |
# Start the PostgreSQL server
|
10 |
+
exec /usr/lib/postgresql/*/bin/postgres -D /var/lib/postgresql/data
|
11 |
+
|
12 |
echo "server started successfully............."
|