Project

General

Profile

« Previous | Next » 

Revision 6337

root Makefile: PostgreSQL: $(postgresReload-Linux): Making schemas/*.conf world-readable: Fixed bug where need to do this as the bien user, which owns the files

View differences:

Makefile
141 141
sudo ed --loose-exit-status --verbose /etc/apache2/ports.conf
142 142

  
143 143
asAdmin := sudo -E -u postgres
144
asBien := sudo -E -u bien
144 145
pgVersion = "$$(env minor=1 bin/pg_version)"
145 146

  
146 147
linuxPostgresDir := /etc/postgresql/9.1/main
......
167 168
endef
168 169

  
169 170
define postgresReload-Linux
170
chmod a+r schemas/*.conf
171
$(asBien) chmod a+r schemas/*.conf
171 172
$(asAdmin) cp --preserve=timestamps schemas/postgresql.conf $(linuxPostgresDir)/postgresql.conf
172 173
$(asAdmin) cp --preserve=timestamps schemas/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf
173 174
$(call pg_ctl-Linux,restart)

Also available in: Unified diff