From bbb9575cc6af844496386afe17603319ceccf1d9 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 1 Jul 2014 14:18:39 +0200 Subject: postgresql-ctl: use detected PG_CTL_BIN --- postgresql-ctl.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'postgresql-ctl.in') diff --git a/postgresql-ctl.in b/postgresql-ctl.in index 1fe9838..1327b41 100644 --- a/postgresql-ctl.in +++ b/postgresql-ctl.in @@ -4,6 +4,4 @@ # postgresql.service. There is not possible to do conditional step in service # file based on (non)existence of PGPORT variable. -PG_CTL=/usr/bin/pg_ctl - -$PG_CTL "$@" ${PGPORT+-o "-p $PGPORT"} +@PG_CTL_BIN@ "$@" ${PGPORT+-o "-p $PGPORT"} -- cgit