puppet-php icon indicating copy to clipboard operation
puppet-php copied to clipboard

Systemd on-demand socket-based activation

Open gchaix opened this issue 9 years ago • 0 comments

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

gchaix avatar Sep 12 '16 22:09 gchaix