Re: [PHP-DEV] php-fpm and systemd integration

2013-05-18 Thread Remi Collet
Le 17/05/2013 18:44, Remi Collet a écrit : > Any feedback before I process ? >From proposal from Jérôme, I have add a new "systemd_interval" option to configure the interval between 2 systemd notification (0 means disabled, except initial notification which stay mandatory by design) Note : this

Re: [PHP-DEV] php-fpm and systemd integration

2013-05-18 Thread Ivan Enderlin @ Hoa
On 17/05/13 18:44, Remi Collet wrote: Hi, Hi, I plan to allow php-fpm to be aware of systemd and so, use the type=notify mode. I'd like to apply to attached patch to 5.4 and 5.5, as this change have no impact on standard build (need new --with-fpm-systemd build option). Any feedback before

Re: [PHP-DEV] php-fpm and systemd integration

2013-05-17 Thread Remi Collet
Le 17/05/2013 18:44, Remi Collet a écrit : > I plan to allow php-fpm to be aware of systemd and so, use the > type=notify mode. Just to be clear on the goal, this allow systemd to display some information about the health of the service (Status line) # systemctl php-fpm.service status Loaded: l

[PHP-DEV] php-fpm and systemd integration

2013-05-17 Thread Remi Collet
Hi, I plan to allow php-fpm to be aware of systemd and so, use the type=notify mode. I'd like to apply to attached patch to 5.4 and 5.5, as this change have no impact on standard build (need new --with-fpm-systemd build option). Any feedback before I process ? Remi. diff -up ../sapi/fpm/config

[PHP-DEV] php-fpm and systemd integration

2012-09-19 Thread Remi Collet
Hi, For now php-fpm provides and init.d sample script. I propose to also provide an unit sample file. During updating systemd management in fedora, I notice it is quite ugly to rely on configuration file for daemonize option, as user can change this value (testing purpose) and will break the la