mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
Fix CentOS path for PostgreSQL >= 10 logs in user guide.
Debian worked since logs default to another location, but CentOS/RHEL on PostgreSQL >= 10 requires the new location.
This commit is contained in:
parent
047d85c263
commit
232d14993d
@ -123,7 +123,8 @@
|
|||||||
<variable key="postgres-pgpass">{[pg-home-path]}/.pgpass</variable>
|
<variable key="postgres-pgpass">{[pg-home-path]}/.pgpass</variable>
|
||||||
|
|
||||||
<variable key="postgres-log-demo" if="{[os-type-is-debian]}">/var/log/postgresql/postgresql-{[pg-version]}-{[postgres-cluster-demo]}.log</variable>
|
<variable key="postgres-log-demo" if="{[os-type-is-debian]}">/var/log/postgresql/postgresql-{[pg-version]}-{[postgres-cluster-demo]}.log</variable>
|
||||||
<variable key="postgres-log-demo" if="{[os-type-is-centos]}">{[pg-path]}/pg_log/postgresql.log</variable>
|
<variable key="postgres-log-demo" if="{[os-type-is-centos]} && {[pg-version]} < 10">{[pg-path]}/pg_log/postgresql.log</variable>
|
||||||
|
<variable key="postgres-log-demo" if="{[os-type-is-centos]} && {[pg-version]} >= 10">{[pg-path]}/log/postgresql.log</variable>
|
||||||
|
|
||||||
<variable key="postgres-log-pgstartup-demo" if="{[os-type-is-centos]}">/var/lib/pgsql/{[pg-version]}/pgstartup.log</variable>
|
<variable key="postgres-log-pgstartup-demo" if="{[os-type-is-centos]}">/var/lib/pgsql/{[pg-version]}/pgstartup.log</variable>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user