Topic: php-fpm init script reload and test configuration
Hello,
My apologies if this issue has already been dealt.
I'm wondering why php-fpm init script is different than redhat's script related to reload function. Redhat includes a check to ensure syntax integrity as follows:
if ! /usr/sbin/php-fpm --test ; then
RETVAL=6
echo $"not reloading due to configuration syntax error"
failure $"not reloading $prog due to configuration syntax error"
else
killproc -p ${pidfile} php-fpm -USR2
RETVAL=$?
fi
echo
It would be great have a similar test in remi script.
Thanks in advance.
Kind regards.