Re: Detaching from controlling terminal - Mailing list pgsql-general

From Shridhar Daithankar
Subject Re: Detaching from controlling terminal
Date
Msg-id 3FB9BC24.7020603@myrealbox.com
Whole thread Raw
In response to Detaching from controlling terminal  (Andrey Mosienko <feo@feo.org.ru>)
List 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


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Detaching from controlling terminal
Next
From: Andrey Mosienko
Date:
Subject: Re: Detaching from controlling terminal