Re: Patch: Add launchd Support - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Patch: Add launchd Support
Date
Msg-id 550CAB7D.1030902@BlueTreble.com
Whole thread Raw
In response to Re: Patch: Add launchd Support  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: Patch: Add launchd Support  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-hackers
On 3/20/15 6:11 PM, David E. Wheeler wrote:
>     <key>ProgramArguments</key>
>     <array>
>         <string>/usr/local/pgsql/bin/postgres</string>
>         <string>-D</string>
>         <string>/usr/local/pgsql/data</string>
>     </array>

Hrm, would /var/db/postgres be better? I'm not sure if the stuff Apple 
does with /private/ would cause problems though. (In any case, I think 
postgres is better than pgsql.)

>     <key>StandardOutPath</key>
>     <string>/usr/local/pgsql/data/launchd.log</string>
>     <key>StandardErrorPath</key>
>     <string>/usr/local/pgsql/data/launchd.log</string>

Wouldn't /var/log be better?
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Remove fsync ON/OFF as a visible option?
Next
From: "David E. Wheeler"
Date:
Subject: Re: Patch: Add launchd Support