diff options
| author | Pavel Raiskup <praiskup@redhat.com> | 2015-02-27 15:57:08 +0100 |
|---|---|---|
| committer | Pavel Raiskup <praiskup@redhat.com> | 2015-02-27 16:08:11 +0100 |
| commit | 9094981751e776fa93537c91bc0e678f4d806b91 (patch) | |
| tree | f8fae32b51dbd08ef2343da8084d6dbab9d0f6f3 /postgresql-ctl.in | |
| parent | 28c5dbbab21fb19606cb548582885458928eda30 (diff) | |
| download | postgresql-setup-9094981751e776fa93537c91bc0e678f4d806b91.tar.gz postgresql-setup-9094981751e776fa93537c91bc0e678f4d806b91.tar.xz postgresql-setup-9094981751e776fa93537c91bc0e678f4d806b91.zip | |
configury: another scl-izing commit
* Makefile.am: Move systemd directory definitions into
configure.ac. This is then easily configurable via config.site.
* configure.ac (PGENGINE, PG_CTL_BIN): Remove, bindir is
sufficient.
(PREVMAJORVERSION, PREVPGENGINE): Removed. It si configurable
now.
(INIDB_SCLS): Generalize into SCLS variable.
(SCLS): Moved from INIDB_SCLS.
(PGDATADIR): Default changed to have ${prefix} inside.
(SED_RULES): Remove unused variables (or to not be
used, TODO for next commit).
(conf_dir): New macro to define config.site
friendly directory variable.
(SCL_SHELL_WRAPPER): Convenient macro to generate appropriate call
to scl binary (only when building for software collections).
* postgresql-check-db-dir.in: Use new variable layout.
* postgresql-ctl.in: Likewise.
* postgresql-setup.in: Likewise.
* postgresql.service.in: Likewise. This fixes regression of not
using ${bindir} properly.
Diffstat (limited to 'postgresql-ctl.in')
| -rw-r--r-- | postgresql-ctl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql-ctl.in b/postgresql-ctl.in index 1327b41..05bf60b 100644 --- a/postgresql-ctl.in +++ b/postgresql-ctl.in @@ -4,4 +4,4 @@ # postgresql.service. There is not possible to do conditional step in service # file based on (non)existence of PGPORT variable. -@PG_CTL_BIN@ "$@" ${PGPORT+-o "-p $PGPORT"} +@bindir@/pg_ctl "$@" ${PGPORT+-o "-p $PGPORT"} |
