X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8D231D1B23C for ; Mon, 28 Jun 2004 18:57:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50672-06 for ; Mon, 28 Jun 2004 21:57:32 +0000 (GMT) Received: from jimsun.linxnet.com (jimsun.linxnet.com [64.32.196.134]) by svr1.postgresql.org (Postfix) with ESMTP id 3B7F6D1B1D2 for ; Mon, 28 Jun 2004 18:57:28 -0300 (ADT) Received: by jimsun.linxnet.com (Postfix, from userid 332) id B054D430E; Mon, 28 Jun 2004 17:57:28 -0400 (EDT) To: pgsql-admin@postgresql.org Subject: Re: pg_ctl question X-Sun-Charset: US-ASCII Reply-To: pgsql-admin@postgresql.org In-Reply-To: Message-Id: <20040628215728.B054D430E@jimsun.linxnet.com> Date: Mon, 28 Jun 2004 17:57:28 -0400 (EDT) From: jseymour@linxnet.com (Jim Seymour) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/360 X-Sequence-Number: 14020 "Jeff Stout" wrote: > > I am using the /contrib/start-scripts/linux file to set > up postgres to automatically restart upon reboot. > > I set it up /etc/init.d/postgres which calls pg_ctl > > pg_ctl invokes postmaster > > where do I set the -i option to allow tcp connection? [snip] Set "tcpip_socket = true" in $PGDATA/postgresql.conf and restart. And you'll want to set up host entries in $PGDATA/pg_hba.conf, as well. Jim