Re: Detaching from controlling terminal

From: Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com>
To: Andrey Mosienko <feo(at)feo(dot)org(dot)ru>
Cc: Postgres <pgsql-general(at)postgresql(dot)org>
Subject: Re: Detaching from controlling terminal
Date: 2003-11-18 06:28:52
Message-ID: 3FB9BC24.7020603@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrey Mosienko wrote:

> We are using PostgreSQL about two years beginning from version 7.0.
> I have one question about starting postmaster:
> Is there way to detach it from the controlling terminal under FreeBSD?
>
> My situation: I start postmaster manually:
>
> su pgsql -c "/usr/local/pgsql/bin/pg_ctl
> -D /usr/local/pgsql/data -l /usr/local/pgsql/log/pgsql.log start"

You can either use pg_ctl or nohup. Using pg_ctl is recommended.

Shridhar

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrey Mosienko 2003-11-18 06:34:51 Re: Detaching from controlling terminal
Previous Message Peter Eisentraut 2003-11-18 06:25:13 Re: Detaching from controlling terminal