1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00
Tom Lane 77b76fea94 Provide modern examples of how to auto-start Postgres on macOS.
The scripts in contrib/start-scripts/osx don't work at all on macOS
10.10 (Yosemite) or later, because they depend on SystemStarter which
Apple deprecated long ago and removed in 10.10.  Add a new subdirectory
contrib/start-scripts/macos with scripts that use the newer launchd
infrastructure.

Since this problem is independent of which Postgres version you're using,
back-patch to all supported branches.

Discussion: https://postgr.es/m/31338.1510763554@sss.pgh.pa.us
2017-11-17 12:47:44 -05:00
..

The scripts in this directory are for use with Apple's SystemStarter
infrastructure, which is deprecated since macOS 10.4 and is gone entirely
as of 10.10.  You should use the scripts in ../macos instead, unless
you are using a macOS release too old to have launchd.

To install execute the following:

sudo /bin/sh ./install.sh