Content-Length: 231451 | pFad | http://github.com/tonybelloni/postgres/tree/master/contrib/start-scripts/macos

0D postgres/contrib/start-scripts/macos at master · tonybelloni/postgres · GitHub
Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History
 
 

macos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
To make macOS automatically launch your PostgreSQL server at system start,
do the following:

1. Edit the postgres-wrapper.sh script and adjust the file path
variables at its start to reflect where you have installed Postgres,
if that's not /usr/local/pgsql.

2. Copy the modified postgres-wrapper.sh script into some suitable
installation directory.  It can be, but doesn't have to be, where
you keep the Postgres executables themselves.

3. Edit the org.postgresql.postgres.plist file and adjust its path
for postgres-wrapper.sh to match what you did in step 2.  Also,
if you plan to run the Postgres server under some user name other
than "postgres", adjust the UserName parameter value for that.

4. Copy the modified org.postgresql.postgres.plist file into
/Library/LaunchDaemons/.  You must do this as root:
    sudo cp org.postgresql.postgres.plist /Library/LaunchDaemons
because the file will be ignored if it is not root-owned.

At this point a reboot should launch the server.  But if you want
to test it without rebooting, you can do
    sudo launchctl load /Library/LaunchDaemons/org.postgresql.postgres.plist








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/tonybelloni/postgres/tree/master/contrib/start-scripts/macos

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy