Skip to content

Instantly share code, notes, and snippets.

@slant
Created May 5, 2009 00:29
Show Gist options
  • Save slant/106751 to your computer and use it in GitHub Desktop.
Save slant/106751 to your computer and use it in GitHub Desktop.
This file: /Library/LaunchDaemons/org.postgresql.dbms.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.postgresql.dbms</string>
<key>UserName</key>
<string>postgres</string>
<key>GroupName</key>
<string>postgres</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/postgres/bin/postmaster</string>
<string>-D</string>
<string>/usr/local/postgres/data</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment