Re: Patch: Add launchd Support

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch: Add launchd Support
Date: 2015-03-20 23:21:33
Message-ID: 550CAB7D.1030902@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2015-03-20 23:25:07 Re: Patch: Add launchd Support
Previous Message Jim Nasby 2015-03-20 23:18:07 Re: Remove fsync ON/OFF as a visible option?