--- /dev/null
+../main/repmgr-pg18-conf.sample.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-config-file-location.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.service
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.sysconfig
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-conf.sample.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-config-file-location.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.service
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.sysconfig
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-conf.sample.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-config-file-location.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.service
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.sysconfig
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-conf.sample.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-config-file-location.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.service
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.sysconfig
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-conf.sample.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-config-file-location.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.service
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.sysconfig
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-conf.sample.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18-config-file-location.patch
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.service
\ No newline at end of file
--- /dev/null
+../main/repmgr-pg18.sysconfig
\ No newline at end of file
--- /dev/null
+--- repmgr.conf.sample.old 2018-01-18 17:25:14.240760492 +0000
++++ repmgr.conf.sample 2018-01-18 17:25:27.333825591 +0000
+@@ -129,7 +129,7 @@
+ # Environment/command settings
+ #------------------------------------------------------------------------------
+
+-#pg_bindir='' # Path to PostgreSQL binary directory (location
++pg_bindir='/usr/pgsql-18/bin/' # Path to PostgreSQL binary directory (location
+ # of pg_ctl, pg_basebackup etc.). Only needed
+ # if these files are not in the system $PATH.
+ #
--- /dev/null
+--- a/configfile.c
++++ b/configfile.c
+@@ -159,7 +159,7 @@ load_config(const char *config_file, bool verbose, bool terse, t_configuration_o
+ if (config_file_provided == false)
+ {
+ /* packagers: if feasible, patch configuration file path into "package_conf_file" */
+- char package_conf_file[MAXPGPATH] = "";
++ char package_conf_file[MAXPGPATH] = "/etc/repmgr/18/repmgr.conf";
+ char my_exec_path[MAXPGPATH] = "";
+ char sysconf_etc_path[MAXPGPATH] = "";
+
--- /dev/null
+# It's not recommended to modify this file in-place, because it will be
+# overwritten during package upgrades. If you want to customize, the
+# best way is to create a file "/etc/systemd/system/repmgr-18.service",
+# containing
+# .include /lib/systemd/system/repmgr-18.service
+# ...make your changes here...
+# For more info about custom unit files, see
+# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
+
+[Unit]
+Description=A replication manager, and failover management tool for PostgreSQL
+After=syslog.target
+After=network.target
+After=postgresql-18.service
+
+[Service]
+Type=forking
+
+User=postgres
+Group=postgres
+
+# PID file
+PIDFile=/run/repmgr/repmgrd-18.pid
+
+# Location of repmgr conf file:
+Environment=REPMGRDCONF=/etc/repmgr/18/repmgr.conf
+Environment=PIDFILE=/run/repmgr/repmgrd-18.pid
+
+# Where to send early-startup messages from the server
+# This is normally controlled by the global default set by systemd
+# StandardOutput=syslog
+ExecStart=/usr/pgsql-18/bin/repmgrd -f ${REPMGRDCONF} -p ${PIDFILE} -d --verbose
+ExecStop=/usr/bin/kill -TERM $MAINPID
+ExecReload=/usr/bin/kill -HUP $MAINPID
+
+# Give a reasonable amount of time for the server to start up/shut down
+TimeoutSec=300
+
+[Install]
+WantedBy=multi-user.target
--- /dev/null
+# default settings for repmgrd. This file is source by /bin/sh from
+# /etc/init.d/repmgrd
+
+# disable repmgrd by default so it won't get started upon installation
+# valid values: yes/no
+REPMGRD_ENABLED=no
+
+# Repmgr conf file
+REPMGR_CONF=/etc/repmgr/18/repmgr.conf
+
+# Options for repmgrd (required)
+#REPMGRD_OPTS="--verbose -d "
+
+# User to run repmgrd as
+REPMGRD_USER=postgres
+
+# repmgrd binary
+REPMGRD_BIN=/usr/pgsql-18/bin/repmgrd
+
+# pid file
+REPMGRD_PIDFILE=/run/repmgr/repmgrd-18.pid
+
+# log file
+REPMGRD_LOG=/var/log/repmgr/repmgrd-18.log