Revision 6823
Added by Aaron Marcuse-Kubitza about 12 years ago
Makefile | ||
---|---|---|
176 | 176 |
@echo 'kernel.shmmax=4294967295' |
177 | 177 |
@$(wait) |
178 | 178 |
chmod a+r schemas/*.conf || $(asBien) chmod a+r schemas/*.conf |
179 |
$(asAdmin) mv -n $(linuxPostgresDir)/postgresql.conf $(linuxPostgresDir)/postgresql.conf.old |
|
179 |
-$(asAdmin) mv -n $(linuxPostgresDir)/postgresql.conf $(linuxPostgresDir)/postgresql.conf.old
|
|
180 | 180 |
$(asAdmin) cp --preserve=timestamps schemas/postgresql.conf $(linuxPostgresDir)/postgresql.conf |
181 |
$(asAdmin) mv -n $(linuxPostgresDir)/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf.old |
|
181 |
-$(asAdmin) mv -n $(linuxPostgresDir)/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf.old
|
|
182 | 182 |
$(asAdmin) cp --preserve=timestamps schemas/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf |
183 | 183 |
$(call pg_ctl-Linux,restart) |
184 | 184 |
|
... | ... | |
187 | 187 |
define postgresReload-Darwin |
188 | 188 |
@$(confirmPostgresReload) |
189 | 189 |
chmod a+r schemas/*.conf |
190 |
$(asAdmin) mv -n $(macPostgresDir)/data/postgresql.conf $(macPostgresDir)/data/postgresql.conf.old |
|
190 |
-$(asAdmin) mv -n $(macPostgresDir)/data/postgresql.conf $(macPostgresDir)/data/postgresql.conf.old
|
|
191 | 191 |
$(asAdmin) cp schemas/postgresql.Mac.conf $(macPostgresDir)/data/postgresql.conf |
192 |
$(asAdmin) mv -n $(macPostgresDir)/data/pg_hba.conf $(macPostgresDir)/data/pg_hba.conf.old |
|
192 |
-$(asAdmin) mv -n $(macPostgresDir)/data/pg_hba.conf $(macPostgresDir)/data/pg_hba.conf.old
|
|
193 | 193 |
$(asAdmin) cp schemas/pg_hba.Mac.conf $(macPostgresDir)/data/pg_hba.conf |
194 | 194 |
$(call pg_ctl-Darwin,restart) |
195 | 195 |
|
Also available in: Unified diff
root Makefile: $(postgresReload-*): Ignore `mv -n` errors, which generally indicate that the existing *.conf was already renamed to *.conf.old