Revision 6473
Added by Aaron Marcuse-Kubitza about 12 years ago
Makefile | ||
---|---|---|
169 | 169 |
|
170 | 170 |
define postgresReload-Linux |
171 | 171 |
chmod a+r schemas/*.conf || $(asBien) chmod a+r schemas/*.conf |
172 |
mv -n $(linuxPostgresDir)/postgresql.conf $(linuxPostgresDir)/postgresql.conf.old |
|
172 | 173 |
$(asAdmin) cp --preserve=timestamps schemas/postgresql.conf $(linuxPostgresDir)/postgresql.conf |
174 |
mv -n $(linuxPostgresDir)/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf.old |
|
173 | 175 |
$(asAdmin) cp --preserve=timestamps schemas/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf |
174 | 176 |
$(call pg_ctl-Linux,restart) |
175 | 177 |
|
... | ... | |
177 | 179 |
|
178 | 180 |
define postgresReload-Darwin |
179 | 181 |
chmod a+r schemas/*.conf |
182 |
$(asAdmin) mv -n $(macPostgresDir)/data/postgresql.conf $(macPostgresDir)/data/postgresql.conf.old |
|
180 | 183 |
$(asAdmin) cp schemas/postgresql.Mac.conf $(macPostgresDir)/data/postgresql.conf |
184 |
$(asAdmin) mv -n $(macPostgresDir)/data/pg_hba.conf $(macPostgresDir)/data/pg_hba.conf.old |
|
181 | 185 |
$(asAdmin) cp schemas/pg_hba.Mac.conf $(macPostgresDir)/data/pg_hba.conf |
182 | 186 |
$(call pg_ctl-Darwin,restart) |
183 | 187 |
|
Also available in: Unified diff
root Makefile: PostgreSQL: $(postgresReload-*): Rename existing *.conf to *.conf.old