[pgpool-committers: 3867] 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_4_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1172e6cf83968fbbd97b306342ec238a275eeb4b
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