postmaster start options on RedHat 7.2

From: "Brian Johnson" <bjohnson(at)jecinc(dot)on(dot)ca>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: postmaster start options on RedHat 7.2
Date: 2002-02-11 17:07:47
Message-ID: 005601c1b31e$a14c2f80$3200a8c0@jecinc.on.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I would like to add a couple of startup options to postgresql on my system,
but am having difficulty modifying the RedHat startup scripts (in
/etc/rc.d/init.d)

I would like to add -i to allow network connections and -l for ssl traffic

I think the line to modify is:
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p
/usr/bin/postmaster start > /dev/null 2>&1" < /dev/null

I tried
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p
`/usr/bin/postmaster -i` start > /dev/null 2>&1" < /dev/null
and
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p
'/usr/bin/postmaster -i' start > /dev/null 2>&1" < /dev/null
and
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p
/usr/bin/postmaster -o "i" start > /dev/null 2>&1" < /dev/null

with no luck

Suggestions?

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Dmitri Touretsky 2002-02-11 18:01:15 Table with no primary key
Previous Message Jeff Self 2002-02-11 17:01:56 Re: [Novice] Create Table