| От | Bryan White |
|---|---|
| Тема | Re: Postmaster loses bash shell command prompt? |
| Дата | |
| Msg-id | 00d301c0f8ec$f2db6a10$22d260d1@bryan обсуждение исходный текст |
| Ответ на | Postmaster loses bash shell command prompt? ("Dennis B" <dcswest@about.com>) |
| Список | pgsql-general |
> Trying to follow the directions in the PostGreSQL book, but for > starting postmaster in FreeBSD. When running postmaster though, it > says something about now being in production mode, but also loses > (???) the bash shell command prompt to run anything else, including > psql or X & pgaccess! Hope it's simple enough for someone to > explain!!! The postmaster does not disconnect from the console it is run from. By default its standard output is used for logging. To force it into the background you need to run it in the 'background'. In bash this means putting an & at the end of the command line. Here is the line from my system startup scripts that I use to start it: su - postgres -c "postmaster -i -B 1024 -N 256 -o -S2048 >>/var/log/postgres 2>&1 &" > /dev/null 2>&1 &
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера