[pgpool-committers: 3866] pgpool: Fix for 0000296: PGPool v3.6.2 terminated by systemd because th

Muhammad Usama m.usama at gmail.com
Fri Mar 24 06:24:02 JST 2017


Fix for 0000296: PGPool v3.6.2 terminated by systemd because the service Type
has been set to 'forking'

Removing the "-n" value assigned to OPTS variable in pgpool.sysconfig.
The problem was the systemd service with Type=forking expects the parent process
to exit after the startup is complete, but because the -n command line option
disables the daemon mode and systemd keeps on waiting for the Pgpool-II's parent
process to exit after startup, which never happens and eventually systemd
terminate the Pgpool-II after timeout.
As part of this commit I have also added a new variable STOP_OPTS which is
passed to ExecStop and can be used to pass extra command line options to
Pgpool-II stop command.

Branch
------
V3_6_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c2a0cc5bd73da4c734934befb1cc5011403c7c0d

Modified Files
--------------
src/redhat/pgpool.service   | 2 +-
src/redhat/pgpool.sysconfig | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list