mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
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
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