app-eselect/eselect-php: new revision to test config before FPM start/reload.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 24 Nov 2015 20:11:36 +0000 (15:11 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 24 Nov 2015 20:12:00 +0000 (15:12 -0500)
commita0709457d61898989510adfa26c4cb615f18165b
tree7f132dc2e3c7d244d696bbb1e97d70cad8513ba7
parent9ff38b917348e895e17ca4bb74be8180a4760d45
app-eselect/eselect-php: new revision to test config before FPM start/reload.

Now that we have a configtest() command for the php-fpm daemon, we
should run it before attempting to reload the daemon. This prevents
the (working) daemon from crashing if the new config has a typo in it.

Performing the same check before start() avoids a five-second wait if
there is an error in the config.

Gentoo-Bug: 487642

Package-Manager: portage-2.2.20.1
app-eselect/eselect-php/eselect-php-0.7.1-r7.ebuild [moved from app-eselect/eselect-php/eselect-php-0.7.1-r6.ebuild with 95% similarity]
app-eselect/eselect-php/files/php-fpm.init-r4 [moved from app-eselect/eselect-php/files/php-fpm.init-r3 with 67% similarity]