diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2015-03-18 16:11:48 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2015-03-18 16:11:48 +0100 |
commit | 2c0e579b553bf2b1aaf308b8f8705316e8c8e6e4 (patch) | |
tree | 47165b05fc6ed07eea5b107130c794049babab22 /legacy-sysv-script.in | |
parent | 0a7189b8084e75ad36e36491ccffd2ad1e0b7f34 (diff) | |
download | postgresql-setup-2c0e579b553bf2b1aaf308b8f8705316e8c8e6e4.tar.gz postgresql-setup-2c0e579b553bf2b1aaf308b8f8705316e8c8e6e4.tar.xz postgresql-setup-2c0e579b553bf2b1aaf308b8f8705316e8c8e6e4.zip |
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.
Diffstat (limited to 'legacy-sysv-script.in')
-rw-r--r-- | legacy-sysv-script.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy-sysv-script.in b/legacy-sysv-script.in index 6255373..5eaad51 100644 --- a/legacy-sysv-script.in +++ b/legacy-sysv-script.in @@ -1,6 +1,6 @@ #!/bin/sh # Legacy action script for "service postgresql --@__FILE__@" -cmd="@bindir@/postgresql-setup --@__FILE__@ @NAME_SERVICE@" +cmd="@bindir@/postgresql-setup --@__FILE__@ --unit @NAME_SERVICE@" echo "Hint: the preferred way to do this is now \"$cmd\"" >&2 $cmd |