Re: Starting postmaster in rc.local/during bootup

From: "Chris Boget" <chris(at)wild(dot)net>
To: "Tommi Maekitalo" <t(dot)maekitalo(at)epgmbh(dot)de>, "PGSql General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Starting postmaster in rc.local/during bootup
Date: 2002-12-03 13:45:32
Message-ID: 017b01c29ad2$404e5400$8c01a8c0@ENTROPY
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> su postgres -c "pgctl -D <blah> start"

Yes, but this requires user postgres to have a shell. Which
is what I'm trying to avoid, as I mentioned in my original post.
I've got mysql running as the mysql user (who doesn't have a
shell) by doing this:

/bin/sh -c 'cd /usr/local/mysql; ./bin/safe_mysqld --user=mysql &' > /dev/null

But as far as I can tell, PG doesn't have the --user option. Is
there some way like the above that I can start PG w/o giving
user postgres a shell?

thnx,
Chris

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2002-12-03 13:51:39 Re: Starting postmaster in rc.local/during bootup
Previous Message Magnus Naeslund(f) 2002-12-03 13:31:20 Re: Starting postmaster in rc.local/during bootup