Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
| От | Christoph Berg |
|---|---|
| Тема | Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql |
| Дата | |
| Msg-id | 20130530025835.GB974@msgid.df7cb.de обсуждение исходный текст |
| Ответ на | Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql |
| Список | pgsql-pkg-debian |
On Mon, 2013-05-27 at 09:27 +0000, stronny@celestia.ru wrote:
> The following bug has been logged on the website:
>
> Bug reference: 8177
> Logged by: stronny
> Email address: stronny@celestia.ru
> PostgreSQL version: 9.2.4
> Operating system: wheezy
> Description:
>
> When installed from apt.postgresql.org Postgres fails to start on system
> boot.
>
> Wheezy changed /var/run to become memory-based so initscript should create
> /var/run/postgresql if necessary.
start() {
# create socket directory
if [ -d /var/run/postgresql ]; then
chmod 2775 /var/run/postgresql
else
install -d -m 2775 -o postgres -g postgres /var/run/postgresql
fi
do_ctl_all start "$1" "Starting PostgreSQL $1 database server"
}
We create the directory, what specifically doesn't work for you?
Christoph
--
cb@df7cb.de | http://www.df7cb.de/
В списке pgsql-pkg-debian по дате отправления: