Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375714 Details for
Bug 508712
dev-lang/php[fpm] add configtest command to /etc/init.d/php-fpm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add configtest functionality (fixed)
php-fpm.patch (text/plain), 560 bytes, created by
Garry Filakhtov
on 2014-04-25 18:46:20 UTC
(
hide
)
Description:
Patch to add configtest functionality (fixed)
Filename:
MIME Type:
Creator:
Garry Filakhtov
Created:
2014-04-25 18:46:20 UTC
Size:
560 bytes
patch
obsolete
>--- php-fpm.orig 2014-04-25 21:29:31.909915518 +0300 >+++ php-fpm 2014-04-25 21:31:25.518462181 +0300 >@@ -11,7 +11,7 @@ > PHP_FPM_CONF="/etc/php/fpm-${PHPSLOT}/php-fpm.conf" > } > >-extra_commands="depend" >+extra_commands="depend configtest" > extra_started_commands="reload" > > depend() { >@@ -48,3 +48,10 @@ > [ -f ${PHP_FPM_PID} ] && kill -USR2 $(cat ${PHP_FPM_PID}) > eend $? > } >+ >+configtest() { >+ ebegin "Testing PHP FastCGI Process Manager Configuration" >+ set_phpvars >+ /usr/lib/${PHPSLOT}/bin/php-fpm -y "${PHP_FPM_CONF}" -t >+ eend $? >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 508712
:
375712
| 375714