thias / puppet-php

Puppet module to manage PHP
Other
49 stars 67 forks source link

Systemd on-demand socket-based activation #81

Open gchaix opened 8 years ago

gchaix commented 8 years ago

Provides support for creating systemd socket-based activation of on-demand PHP-FPM daemons.

Defines php::fpm::systemd-socket-conf that will create the corresponding systemd .socket and .service configurations. Multiple pools may be created using separate sockets/services so that rolling, zero-downtime restarts of PHP-FPM may be accomplished.

Tested on CentOS7 and Debian Jessie.

Based heavily on http://thanatos.be/2014/04/12/php-fpm-ondemand.html