Skip to content

Instantly share code, notes, and snippets.

@slant
Created May 5, 2009 00:29
Show Gist options
  • Select an option

  • Save slant/106751 to your computer and use it in GitHub Desktop.

Select an option

Save slant/106751 to your computer and use it in GitHub Desktop.

Revisions

  1. cylence revised this gist May 5, 2009. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Postgresql Launchd
    Original file line number Diff line number Diff line change
    @@ -13,9 +13,9 @@ This file: /Library/LaunchDaemons/org.postgresql.dbms.plist
    <string>postgres</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/local/pgsql/bin/postmaster</string>
    <string>/usr/local/postgres/bin/postmaster</string>
    <string>-D</string>
    <string>/usr/local/pgsql/data</string>
    <string>/usr/local/postgres/data</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
  2. jimiray revised this gist Apr 30, 2009. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Postgresql Launchd
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    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">
  3. jimiray created this gist Apr 30, 2009.
    21 changes: 21 additions & 0 deletions Postgresql Launchd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    <?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/pgsql/bin/postmaster</string>
    <string>-D</string>
    <string>/usr/local/pgsql/data</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    </dict>
    </plist>