Re: Starting postmaster in rc.local/during bootup - Mailing list pgsql-general

From Chris Boget
Subject Re: Starting postmaster in rc.local/during bootup
Date
Msg-id 017b01c29ad2$404e5400$8c01a8c0@ENTROPY
Whole thread Raw
In response to Re: Starting postmaster in rc.local/during bootup  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Responses Re: Starting postmaster in rc.local/during bootup
List 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


pgsql-general by date:

Previous
From: "Magnus Naeslund(f)"
Date:
Subject: Re: Starting postmaster in rc.local/during bootup
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Starting postmaster in rc.local/during bootup