| From: | Andrey Mosienko <feo(at)feo(dot)org(dot)ru> |
|---|---|
| To: | Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com> |
| Cc: | Postgres <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Detaching from controlling terminal |
| Date: | 2003-11-18 06:34:51 |
| Message-ID: | 3FB9BD8B.3BBEE117@feo.org.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Shridhar Daithankar wrote:
>
> 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.
>
su pgsql -c "/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l /usr/local/pgsql/log/pgsql.log start"
^^^^^^^
What is nohup?
--
Best regards Andrey Feofilactovich.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Craig O'Shannessy | 2003-11-18 06:51:31 | Re: Detaching from controlling terminal |
| Previous Message | Shridhar Daithankar | 2003-11-18 06:28:52 | Re: Detaching from controlling terminal |