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

From David E. Wheeler
Subject Re: Patch: Add launchd Support
Date
Msg-id 7A671B7F-7D6B-41D9-A21D-7A1276728ED4@justatheory.com
Whole thread Raw
In response to Re: Patch: Add launchd Support  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On Mar 20, 2015, at 4:21 PM, Jim Nasby <Jim.Nasby@BlueTreble.com> wrote:
>
> 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?

/usr/local/pgsql has been the standard install location for the PostgreSQL core distribution for as long as I can
remember,including on OS X. Our original OS X startup script refers to it. I figure it’s best to keep it consistent. 

Best,

David


pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Patch: Add launchd Support
Next
From: Jim Nasby
Date:
Subject: Re: proposal: searching in array function - array_position