bpandey23 commited on
Commit
1595074
·
verified ·
1 Parent(s): cd5e0f7

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. 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............."