starting the server at boot - Mailing list pgsql-general

From javier garcia - CEBAS
Subject starting the server at boot
Date
Msg-id 200311100910.hAA9ADR22724@natura.cebas.csic.es
Whole thread Raw
Responses Re: starting the server at boot
List pgsql-general
Hello;

If I add the line:
-------------------
 su -c 'pg_ctl start -D /usr/local/pgsql/data/ -l
/usr/local/pgsql/data/logfile' postgres
-------------------
to /etc/rc.d/rd.local.
Is there a way this could work when I don't boot as root, but as a common
user?

(I should be able to automatically pass a password, and I don't know how)

Thanks and regards

Javier Garcia


pgsql-general by date:

Previous
From: "frank_lupo"
Date:
Subject: drop user question
Next
From: Jean-Michel POURE
Date:
Subject: Re: performance: time & disk access measurment