Re: Detaching from controlling terminal

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
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:25:13
Message-ID: Pine.LNX.4.44.0311180723550.639-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrey Mosienko writes:

> > > su pgsql -c "/usr/local/pgsql/bin/pg_ctl
> > > -D /usr/local/pgsql/data -l /usr/local/pgsql/log/pgsql.log start"
> >
> > That should do it. What version are you using?
>
> PostgreSQL: 7.0.1 - 7.3.4

I'm sure somewhere in between there it didn't work and then it was fixed.
If in doubt, redirect all three file descriptors stdin, stdout, stderr
somewhere (possibly /dev/null), so they're not attached to the terminal.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2003-11-18 06:28:52 Re: Detaching from controlling terminal
Previous Message Andrey Mosienko 2003-11-18 06:10:56 Re: Detaching from controlling terminal