postgresql CentOS 7.1 systemd streaming replica startup - Mailing list pgsql-novice

From Eugene Vilensky
Subject postgresql CentOS 7.1 systemd streaming replica startup
Date
Msg-id CAEUKkZ_BB5uem8zRBtBm84=xko=WP8a9-0QaLLVGF6N6AeNs9Q@mail.gmail.com
Whole thread Raw
List pgsql-novice
Hello,

I am using postgresql 9.3.4 on CentOS 7.1.  I have configured replication correctly, and attempted to use the systemD unit file included in the pgdg-provided package to start the replica.  Unfortunately while the replica appears to start correctly and I can monitor active WAL streaming, the systemd startup script aborts reporting that startup did not complete correctly.

Looking at the systemd unit file,The start command is:

ExecStart=/usr/pgsql-9.3/bin/pg_ctl start -D ${PGDATA} -s -w -t 300

Is it perhaps the -w parameter when starting a replica that causes systemd to not recognize that the replica has started correctly? 

Thank you,
Eugene

pgsql-novice by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: PGDATA on Windows
Next
From: Jude DaShiell
Date:
Subject: Re: what's wrong with this code?