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:53:32 +0200 |
commit | 63be2258e68e5ba9e05e436611c65d72b80e432c (patch) | |
tree | d255021244f67e8ad39967b3f278d48676642c35 | |
parent | ccc0c4923c871118c35f6c92ea48d12899503660 (diff) | |
download | postgresql-setup-63be2258e68e5ba9e05e436611c65d72b80e432c.tar.gz postgresql-setup-63be2258e68e5ba9e05e436611c65d72b80e432c.tar.xz postgresql-setup-63be2258e68e5ba9e05e436611c65d72b80e432c.zip |
postgresql-check-db-dir: fix drop-in directory detectionREL_001
Backpatch to REL_001.
* postgresql-check-db-dir.in: Fix drop-in directory to contain
the 'service' string.
-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" |