From f109dcd27eaebcf89a7db056a0f0d46fcb3ed1a9 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 19 Mar 2015 13:09:39 +0100 Subject: init: add PGSCLS env variable * postgresql-ctl.in: Respect PGSCLS env variable. * postgresql.init.in: Export PGSCLS variable possibly sourced from sysconfig configuration file. * NEWS: Document. --- postgresql-ctl.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'postgresql-ctl.in') diff --git a/postgresql-ctl.in b/postgresql-ctl.in index 546ffba..ad18004 100644 --- a/postgresql-ctl.in +++ b/postgresql-ctl.in @@ -17,6 +17,11 @@ @SCL_SOURCE@ +# Help users to run postgresql server extensions built against specific +# software collection (that said, such collection is runtime dependancy of +# such extension, not the server itself). +test -n "$PGSCLS" && source scl_source enable $PGSCLS + port=() if test "$1" = "start" && test -n "$PGPORT"; then port=(-o "-p $PGPORT") -- cgit