| From: | Sébastien Lardière <sebastien(at)2ndquadrant(dot)fr> |
|---|---|
| To: | pgsql-pkg-yum(at)postgresql(dot)org |
| Subject: | repmgr package : missing things |
| Date: | 2015-01-19 09:03:49 |
| Message-ID: | 54BCC875.5010601@2ndquadrant.fr |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| Attachment | Content-Type | Size |
|---|---|---|
| repmgr.conf | text/plain | 364 bytes |
| repmgrd | text/plain | 3.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sébastien Lardière | 2015-01-19 09:15:03 | Skytools package : missing things |
| Previous Message | Tomonari Katsumata | 2015-01-18 06:38:39 | Wrong PGPREVMAJORVERSION? |