What's the logic of touching /var/log/pgsql ?

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема What's the logic of touching /var/log/pgsql ?
Дата
Msg-id 53DB4735.5020704@2ndquadrant.com
обсуждение исходный текст
Ответы Re: What's the logic of touching /var/log/pgsql ?  (Devrim Gündüz <devrim@gunduz.org>)
Список pgsql-pkg-yum
The PGDG spec files for PostgreSQL have the following lines in the
server preinst section:

%pre server
... creates Pg user ...
touch /var/log/pgsql
chown postgres:postgres /var/log/pgsql
chmod 0700 /var/log/pgsql


What's the logic there? Why create an empty /var/log/pgsql file owned by
user 'pgsql' ? It's not used for anything and just seems confusing.




--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


В списке pgsql-pkg-yum по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Unifying the spec files?
Следующее
От: Craig Ringer
Дата:
Сообщение: pg_upgrade support is broken?