From: | "David E(dot) Wheeler" <david(at)justatheory(dot)com> |
---|---|
To: | Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch: Add launchd Support |
Date: | 2015-03-20 23:25:07 |
Message-ID: | 7A671B7F-7D6B-41D9-A21D-7A1276728ED4@justatheory.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mar 20, 2015, at 4:21 PM, Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2015-03-20 23:27:40 | Re: proposal: searching in array function - array_position |
Previous Message | Jim Nasby | 2015-03-20 23:21:33 | Re: Patch: Add launchd Support |