Skip to content

Commit d956b3e

Browse files
committed
Use all instead of 0.0.0.0/0
1 parent a1c8955 commit d956b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
grep -q "^host healthcheck healthcheck 0.0.0.0/0 " "$PGDATA/pg_hba.conf" || sed -i '/^host all all 0.0.0.0\/0/i host healthcheck healthcheck 0.0.0.0\/0 trust' "$PGDATA/pg_hba.conf"
3+
grep -q "^host healthcheck healthcheck " "$PGDATA/pg_hba.conf" || sed -i '/^host all all all /i host healthcheck healthcheck all trust' "$PGDATA/pg_hba.conf"

0 commit comments

Comments
 (0)