17212: Propagate -listen-host to postgresql and passenger.
[arvados.git] / lib / boot / postgresql.go
index 4ed7603d2a55689a298041286dddca5f09643b97..d105b0b62342b4defc60838e14accd9f38ce9ed8 100644 (file)
@@ -113,6 +113,7 @@ func (runPostgreSQL) Run(ctx context.Context, fail func(error), super *Superviso
                        "-l",          // enable ssl
                        "-D", datadir, // data dir
                        "-k", datadir, // socket dir
+                       "-h", super.cluster.PostgreSQL.Connection["host"],
                        "-p", super.cluster.PostgreSQL.Connection["port"],
                }
                opts := runOptions{}