diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-09-23 08:38:30 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-09-23 08:52:11 +0200 |
commit | 0ba4ab7cbbd4e78cbc728ef205b98622244afbfb (patch) | |
tree | 3578aab09853451e678db1d5e15e65aacc0ef462 /postgresql-check-db-dir.in | |
parent | 66b8c42003a69f5b46cf6cf531e60129d8f234df (diff) | |
download | postgresql-setup-0ba4ab7cbbd4e78cbc728ef205b98622244afbfb.tar.gz postgresql-setup-0ba4ab7cbbd4e78cbc728ef205b98622244afbfb.tar.xz postgresql-setup-0ba4ab7cbbd4e78cbc728ef205b98622244afbfb.zip |
postgresql-check-db-dir: fix drop-in directory detection
Backpatch to REL_001.
* postgresql-check-db-dir.in: Fix drop-in directory to contain
the 'service' string.
Diffstat (limited to 'postgresql-check-db-dir.in')
-rw-r--r-- | postgresql-check-db-dir.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql-check-db-dir.in b/postgresql-check-db-dir.in index 2d19a1b..e579edf 100644 --- a/postgresql-check-db-dir.in +++ b/postgresql-check-db-dir.in @@ -27,7 +27,7 @@ fi # Warn the user that the configuration should be adjusted via drop-in, in case # the $PGDATA variable is set different way (and non-default service name is # used). -conf_dir="@userunitsdir@/$service_name.d" +conf_dir="@userunitsdir@/$service_name.service.d" if [[ "$service_name" == *@* ]] && test ! -d "$conf_dir"; then echo >&2 $"WARNING: Note that the '$conf_dir'" echo >&2 $"directory does not exist while you are using non-default service" |