From 2c0e579b553bf2b1aaf308b8f8705316e8c8e6e4 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 18 Mar 2015 16:11:48 +0100 Subject: bunch of rhel{6,7} & scl fixes * postgresql.init.in (initdb, upgrade): Use full path to postgresql-setup, this is mostly for proper documentation purposes in case of failure. * legacy-sysv-script.in: Pass --unit before actual unit name. * postgresql-ctl.in: Handle better the $port option passed to pg_ctl. * postgresql-setup.in: Use full path to postgresql-setup, mostly for documentation purposes. * README: Add elinks to BuildRequires. --- postgresql.init.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'postgresql.init.in') diff --git a/postgresql.init.in b/postgresql.init.in index aadd3dd..dc4c9a7 100644 --- a/postgresql.init.in +++ b/postgresql.init.in @@ -187,14 +187,14 @@ __single_comand() initdb() { __single_comand $"Initializing database" \ - @NAME_BINARYBASE@-setup --initdb "$NAME" "$@" + @bindir@/@NAME_BINARYBASE@-setup --initdb "$NAME" "$@" } upgrade() { __single_comand $"Upgrading database" \ - @NAME_BINARYBASE@-setup --upgrade "$NAME" "$@" + @bindir@/@NAME_BINARYBASE@-setup --upgrade "$NAME" "$@" } -- cgit