Closed ianneub closed 11 years ago
Good point, if I correctly rmbr, originally I faced some problems on some distros with "start" only action, will need to re-check. Tnx.
I just hit an issue where changing an attribute that was used inside a fpm_pool definition did not restart the php-fpm server. (I rewrote the cookbook that I am using to remove the :restarts action from the service).
Were you relying on the service restarting each run to do that?
What if we were to change the recipe a bit and remove the :restarts action from the service, and then add notifications to the different templates?
fixed in #21
Is there a reason that php-fpm needs to restart on every chef run? On a default chef client/server install this will restart php-fpm every 30 minutes.
The relevant code: https://github.com/yevgenko/cookbook-php-fpm/blob/master/recipes/default.rb#L116
Thanks for the great cookbook btw!