The following bug has been logged on the website:
Bug reference: 14959
Logged by: fune todanano
Email address: todanano@gmail.com
PostgreSQL version: 9.6.6
Operating system: CentOS release 6.9 (Final)
Description:
init script is trying to run postmaster with forground.
At this point, control is not returned where postmaster is about to
operate.
It was operated as follows.
# $SU -l postgres -c "$PGENGINE/postmaster -D '$PGDATA' ${PGOPTS}
>>\"$PGLOG\" 2>&1"
$SU -l postgres -c "$PGENGINE/postmaster -D '$PGDATA' ${PGOPTS} &"
>> "$PGLOG" 2>&1 < /dev/null
Although it may not be a problem with systemd, it is a problem with init.