| От | Chris Boget |
|---|---|
| Тема | Re: Starting postmaster in rc.local/during bootup |
| Дата | |
| Msg-id | 017b01c29ad2$404e5400$8c01a8c0@ENTROPY обсуждение исходный текст |
| Ответ на | Re: Starting postmaster in rc.local/during bootup ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>) |
| Ответы |
Re: Starting postmaster in rc.local/during bootup
|
| Список | pgsql-general |
> su postgres -c "pgctl -D <blah> start" Yes, but this requires user postgres to have a shell. Which is what I'm trying to avoid, as I mentioned in my original post. I've got mysql running as the mysql user (who doesn't have a shell) by doing this: /bin/sh -c 'cd /usr/local/mysql; ./bin/safe_mysqld --user=mysql &' > /dev/null But as far as I can tell, PG doesn't have the --user option. Is there some way like the above that I can start PG w/o giving user postgres a shell? thnx, Chris
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера