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.
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