Project

General

Profile

« Previous | Next » 

Revision 14067

bugfix: /Makefile: $(pg_ctl-*): tell user that if it doesn't work, need to run `rm $(macPostgresDir)/postmaster.pid` and retry

View differences:

Makefile
138 138

  
139 139
linuxPostgresDir := /etc/postgresql/9.3/main
140 140
define pg_ctl-Linux
141
$(asAdmin) /etc/init.d/postgresql $(1)
141
$(asAdmin) /etc/init.d/postgresql $(1)\
142
\# if doesn't work, run `rm $(linuxPostgresDir)/postmaster.pid` and retry
142 143
endef
143 144

  
144 145
macPostgresDir := /usr/local/var/postgres
145 146
define pg_ctl-Darwin
146
brew services $(1) postgresql
147
brew services $(1) postgresql\
148
\# if doesn't work, run `rm $(macPostgresDir)/postmaster.pid` and retry
149
endef
147 150
#pg_ctl -D $(macPostgresDir) $(1)
148
endef
149 151

  
150 152
postgres_restart: postgres_restart-$(os) _always ;
151 153
postgres_restart-Linux: _always

Also available in: Unified diff