mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user