starting the server at boot

From: javier garcia - CEBAS <rn001(at)cebas(dot)csic(dot)es>
To: pgsql-general(at)postgresql(dot)org
Subject: starting the server at boot
Date: 2003-11-10 09:32:21
Message-ID: 200311100910.hAA9ADR22724@natura.cebas.csic.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Michel POURE 2003-11-10 10:31:56 Re: performance: time & disk access measurment
Previous Message frank_lupo 2003-11-10 09:28:47 drop user question