Skip to content

Instantly share code, notes, and snippets.

@oogali
Created September 9, 2011 14:17
Show Gist options
  • Save oogali/1206340 to your computer and use it in GitHub Desktop.
Save oogali/1206340 to your computer and use it in GitHub Desktop.
PostgreSQL launch property list
<?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.postgres</string>
<key>UserName</key>
<string>postgres</string>
<key>GroupName</key>
<string>_postgres</string>
<key>ProgramArguments</key>
<array>
<string>/Library/PostgreSQL/9.0/bin/postgres</string>
<string>-D</string>
<string>data</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/usr/local/postgres</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment