summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-09-23 08:38:30 +0200
committerPavel Raiskup <praiskup@redhat.com>2014-09-23 08:53:32 +0200
commit63be2258e68e5ba9e05e436611c65d72b80e432c (patch)
treed255021244f67e8ad39967b3f278d48676642c35
parentccc0c4923c871118c35f6c92ea48d12899503660 (diff)
downloadpostgresql-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.in2
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"