This resolves unneeded subsequent restarts of phpX.Y-fpm service upon FPM pool configuration update.
If more than 5 FPM pools are affected of a configuration change, systemd will fail to restart the service with following error:
php8.1-fpm.service: Start request repeated too quickly.
php8.1-fpm.service: Failed with result 'start-limit-hit'.
Failed to start The PHP 8.1 FastCGI Process Manager.
Although according to chef resource documentation the default value for the :timer is :delayed, it seems not to be the case and should be explicitly set.
This behavior may be observed at the github's regressions tests
Description
This resolves unneeded subsequent restarts of
phpX.Y-fpm
service upon FPM pool configuration update. If more than 5 FPM pools are affected of a configuration change,systemd
will fail to restart the service with following error:Although according to chef resource documentation the
default
value for the:timer
is:delayed
, it seems not to be the case and should be explicitly set. This behavior may be observed at the github's regressions testsIssues Resolved
Check List
## Unreleased