Re: Problems Restarting PostgreSQL Daemon - Mailing list pgsql-general

From Tom Lane
Subject Re: Problems Restarting PostgreSQL Daemon
Date
Msg-id 3231.1217101900@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems Restarting PostgreSQL Daemon  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Problems Restarting PostgreSQL Daemon
Re: Problems Restarting PostgreSQL Daemon
List pgsql-general
Rich Shepard <rshepard@appl-ecosys.com> writes:
>    My question is how best to modify the startup script so the postmaster
> fires up when the system is rebooted. I don't see an option to 'su' to
> specify the postgres user's password so I can script this.

Startup scripts invariably run as root, so 'su' isn't going to ask
for a password...

            regards, tom lane

pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: Problems Restarting PostgreSQL Daemon
Next
From: "Joshua D. Drake"
Date:
Subject: Re: php + postgresql