This is an automated email from the ASF dual-hosted git repository.

zixuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c5fd10  Use correct path for initdb and pg_ctl (#478)
7c5fd10 is described below

commit 7c5fd1028c6c1a5a85dec1f1609951a2df64944a
Author: Martijn Zwennes <[email protected]>
AuthorDate: Wed Nov 23 09:20:29 2022 +0100

    Use correct path for initdb and pg_ctl (#478)
    
    Fixes https://github.com/apache/pulsar-manager/issues/465
---
 docker/startup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/startup.sh b/docker/startup.sh
index 04f756c..11c24fc 100755
--- a/docker/startup.sh
+++ b/docker/startup.sh
@@ -18,8 +18,8 @@
 # under the License.
 #
 
-initdb -D /data/postgresql
-pg_ctl -D /data/postgresql start
+/usr/lib/postgresql/13/bin/initdb -D /data/postgresql
+/usr/lib/postgresql/13/bin/pg_ctl -D /data/postgresql start
 createdb
 psql -f /pulsar-manager/init_db.sql
 

Reply via email to