repmgr package : missing things

Поиск
Список
Период
Сортировка
От Sébastien Lardière
Тема repmgr package : missing things
Дата
Msg-id 54BCC875.5010601@2ndquadrant.fr
обсуждение исходный текст
Ответы Re: repmgr package : missing things  (Devrim Gündüz <devrim@gunduz.org>)
Список pgsql-pkg-yum
Hi,

Working with repmgr on a Centos system, I found that some things missing :

 - No initscript
 - No system user created,
 - No Log and PID directory
 - No Default Conf file

As it's important and easy to provide a complete tool, please find the
initscript attached, and this simple code to add to the package :

useradd -r repmgr
mkdir -p /var/log/repmgr /var/run/repmgr /etc/repmgr
chown -R repmgr /var/log/repmgr /var/run/repmgr /etc/repmgr

Files attached :
/etc/init.d/repmgrd
/etc/repmgr/repmgr.conf



--
Sébastien Lardière
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


Вложения

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

Предыдущее
От: Tomonari Katsumata
Дата:
Сообщение: Wrong PGPREVMAJORVERSION?
Следующее
От: Sébastien Lardière
Дата:
Сообщение: Skytools package : missing things