| From: | Sol <sol(at)autonomon(dot)net> | 
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org | 
| Subject: | starting Postgres with TCP/IP enabled | 
| Date: | 2003-08-07 04:44:50 | 
| Message-ID: | 3F31D942.9070409@autonomon.net | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-novice | 
Hi,
I'm new to programming and postgres and have been going through the 
manuals and trying out examples. Everything is going quite well but 
there's one thing which hasn't been explained completely.
If I want to start Postgres with TCP/IP connections allowed I can do so 
in a root shell thus:
postmaster -D /var/lib/pgsql/data/ -i
This can also be done with pg_ctl command. But how can this option be 
set by default so that when postgres is started at boot time, that 
TCP/IP connections are enabled already, so that it doesn't have to be 
done manually?
I've looked at the script at /etc/init.d/postgresql but I don't really 
know BASH very well and I couldn't see where (or whether) to alter this 
script.
thankyou in advance; sol
-- 
==============================
Sol Hanna
solATautonomonDOTnet
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jean-Christian Imbeault | 2003-08-07 04:47:21 | Re: starting Postgres with TCP/IP enabled | 
| Previous Message | Robby Russell | 2003-08-07 03:37:04 | Re: authentication question |