From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
---|---|
To: | Sébastien Lardière <sebastien(at)2ndquadrant(dot)fr> |
Cc: | pgsql-pkg-yum(at)postgresql(dot)org |
Subject: | Re: repmgr package : missing things |
Date: | 2015-01-19 15:05:52 |
Message-ID: | 1421679952.20060.3.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
Hi Sébastien,
Thanks for the report and the patch. I will commit this, after creating
the unit file for repmgr (and skytools) for RHEL 7 and Fedora 19+.
Regards, Devrim
On Mon, 2015-01-19 at 10:03 +0100, Sébastien Lardière wrote:
> 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
>
>
>
>
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
From | Date | Subject | |
---|---|---|---|
Next Message | Jaime Casanova | 2015-01-19 21:52:17 | dependency errors instaling postgis2 |
Previous Message | Devrim Gündüz | 2015-01-19 13:51:34 | Re: Wrong PGPREVMAJORVERSION? |