Re: New repmgr packages - Mailing list pgsql-pkg-yum

From Martín Marqués
Subject Re: New repmgr packages
Date
Msg-id 5331F8BD.2080508@2ndquadrant.com
Whole thread Raw
In response to Re: New repmgr packages  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Responses Re: New repmgr packages
List pgsql-pkg-yum
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ups, forgot to send these files I made last week.

repmgr.init is the init file, and repmgr.sysconfig is the sysconfig file.

Add the Sources:

Source1:        repmgrd.init
Source2:        repmgrd.sysconfig

Lines added to %install are:

# Install init script
install -p -d %{buildroot}%{_initrddir}
install -p -m 755 %{SOURCE1} %{buildroot}%{_initrddir}/repmgrd
# Install conf file
install -p -d %{buildroot}%{_sysconfdir}/sysconfig
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/repmgrd

I've tested them and they work great, as long as you configure
/etc/sysconfig/repmgrd first.

Regards,

- --
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTMfi1AAoJEHsDtEgBAFTSAy4H/jJc8gGdm6pFo8Arev1pEGNy
mtQQ2kviGOXm48BKMKS1R+PzFvuPhY64wOo/3rQAQyr/8UlyzyBcTeIAU/cW0dWF
9tR2+scHnhTfRu0PQi3jqkuGlU2rki52WCR0Vx66Zy73FbkC05j31CtaG3VE8bS7
jAa66qBNBYv7dT+ZORHMRQh4+1HKFl0yviFRXI6/vIHySOMLv94OSNX8hZZdUZ3F
xLqCvgywe/FvGxUfTCTNh0jHvIGFMsBt71eukxPCUQtVQik1hLeS3on9enmIxp92
j0YsRGrKZLEX6VFzTHjjJTRuH90fDHIlk0qlgcRbcF10MxT6ZQiJdC+XcfHA0Yo=
=iPZW
-----END PGP SIGNATURE-----

Attachment

pgsql-pkg-yum by date:

Previous
From: Martín Marqués
Date:
Subject: Re: New repmgr packages
Next
From: Devrim GÜNDÜZ
Date:
Subject: Moving to git