help about service postgres
help about service postgres
От:
Vinni B <vinni_@yahoo.com>
Дата:
Hi.
I�m work postgres in linux red jat 7.3 and up service with the command
>> service postgresql start
The service ok. But i like run postgres in network automatic..
No automatic run the command
>> su - postgres
>> /usr/bin/postmaster -i
My question is how configure postgres for automatic run, is possible ?
thanks
Ing . Giovanni Brice�o
Novice postgres and linux
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
Re: help about service postgres
От:
"Josh Berkus" <josh@agliodbs.com>
Дата:
Giovanni, Unfortunately, I'm not sure how your "service" command works. Is anybody else familiar with this from Red Hat? The command that you need to be passing to your back-end is: su -c "/bin/pg_ctl -o '-i' -l -D /data" postgres ... where and are replaced with the actual locations for those files/directories on your system. -Josh Berkus