Use /run instead of /var/run to please systemd

This commit is contained in:
jeltz 2021-03-10 15:57:19 +01:00
parent 628e11488d
commit 4f6eda8329
1 changed files with 1 additions and 1 deletions

View File

@ -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