summaryrefslogtreecommitdiffstats
path: root/postgresql.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql.service.in')
-rw-r--r--postgresql.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql.service.in b/postgresql.service.in
index c865bcc..b67488e 100644
--- a/postgresql.service.in
+++ b/postgresql.service.in
@@ -27,7 +27,7 @@ OOMScoreAdjust=-1000
Environment=PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj
Environment=PG_OOM_ADJUST_VALUE=0
-ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA}
+ExecStartPre=@libexecdir@/postgresql-check-db-dir ${PGDATA}
# Temporarily use postgresql-ctl wrapper around pg_ctl until there will
# exist clients which set PGPORT in service file.