From 4f6eda832985edc2a721d0503c49119599916456 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Wed, 10 Mar 2021 15:57:19 +0100 Subject: [PATCH] Use /run instead of /var/run to please systemd --- roles/postgresql_server/templates/postgresql/postgresql.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 b/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 index 1085939..f28c61e 100644 --- a/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 +++ b/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 @@ -47,7 +47,7 @@ data_directory = '/var/lib/postgresql/{{ postgresql.version }}/main' hba_file = '/etc/postgresql/{{ postgresql.version }}/main/pg_hba.conf' # If external_pid_file is not explicitly set, no extra PID file is written. -external_pid_file = '/var/run/postgresql/{{ postgresql.version }}-main.pid' +external_pid_file = '/run/postgresql/{{ postgresql.version }}-main.pid' # write an extra PID file