From 63be2258e68e5ba9e05e436611c65d72b80e432c Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 23 Sep 2014 08:38:30 +0200 Subject: 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. --- postgresql-check-db-dir.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postgresql-check-db-dir.in') 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" -- cgit