starting the server at boot

Поиск
Список
Период
Сортировка
От javier garcia - CEBAS
Тема starting the server at boot
Дата
Msg-id 200311100910.hAA9ADR22724@natura.cebas.csic.es
обсуждение исходный текст
Ответы Re: starting the server at boot
Список 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 по дате отправления:

Предыдущее
От: "frank_lupo"
Дата:
Сообщение: drop user question
Следующее
От: Jean-Michel POURE
Дата:
Сообщение: Re: performance: time & disk access measurment