Revision 6336
Added by Aaron Marcuse-Kubitza about 12 years ago
Makefile | ||
---|---|---|
167 | 167 |
endef |
168 | 168 |
|
169 | 169 |
define postgresReload-Linux |
170 |
chmod a+r schemas/*.conf |
|
170 | 171 |
$(asAdmin) cp --preserve=timestamps schemas/postgresql.conf $(linuxPostgresDir)/postgresql.conf |
171 | 172 |
$(asAdmin) cp --preserve=timestamps schemas/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf |
172 | 173 |
$(call pg_ctl-Linux,restart) |
... | ... | |
174 | 175 |
endef |
175 | 176 |
|
176 | 177 |
define postgresReload-Darwin |
178 |
chmod a+r schemas/*.conf |
|
177 | 179 |
$(asAdmin) cp schemas/postgresql.Mac.conf $(macPostgresDir)/data/postgresql.conf |
178 | 180 |
$(asAdmin) cp schemas/pg_hba.Mac.conf $(macPostgresDir)/data/pg_hba.conf |
179 | 181 |
$(call pg_ctl-Darwin,restart) |
Also available in: Unified diff
root Makefile: PostgreSQL: $(postgresReload-*): Make schemas/*.conf world-readable so it's readable by the postgres user, which the .conf installation is run as