We recommend patching the following parameters when building the package as built-in default values for user convenience. These values can nevertheless be overridden by the user, if desired.
Configuration file location: the default configuration file location can be hard-coded by patching package_conf_file in configfile.c:
/* packagers: if feasible, patch configuration file path into "package_conf_file" */ char package_conf_file[MAXPGPATH] = "";
See also: configuration file location
PID file location: the default repmgrd PID file location can be hard-coded by patching package_pid_file in repmgrd.c:
/* packagers: if feasible, patch PID file path into "package_pid_file" */ char package_pid_file[MAXPGPATH] = "";
See also: repmgrd's PID file