FreeBSD Bugzilla – Attachment 168679 Details for
Bug 208325
lang/php70 configtest support in php-fpm rc script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that enables configtest in php-fpm.in rc script
php-fpm.patch (text/plain), 720 bytes, created by
ganbold-freebsd
on 2016-03-27 12:04:50 UTC
(
hide
)
Description:
patch that enables configtest in php-fpm.in rc script
Filename:
MIME Type:
Creator:
ganbold-freebsd
Created:
2016-03-27 12:04:50 UTC
Size:
720 bytes
patch
obsolete
>--- php-fpm.in.orig 2016-03-15 10:09:45.361753000 +0800 >+++ php-fpm.in 2016-03-15 10:29:47.044735000 +0800 >@@ -17,11 +17,16 @@ > name="php_fpm" > rcvar=php_fpm_enable > >+start_precmd="php_fpm_checkconfig" >+restart_precmd="php_fpm_checkconfig" >+reload_precmd="php_fpm_checkconfig" >+configtest_cmd="php_fpm_checkconfig" >+ > load_rc_config "$name" > > : ${php_fpm_enable="NO"} > >-extra_commands="reload logrotate" >+extra_commands="reload configtest logrotate" > > command="%%PREFIX%%/sbin/php-fpm" > pidfile="/var/run/php-fpm.pid" >@@ -40,4 +45,10 @@ > kill -USR1 $rc_pid > } > >+php_fpm_checkconfig() >+{ >+ echo "Performing sanity check on php-fpm configuration:" >+ eval ${command} -t >+} >+ > run_rc_command "$1"
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 208325
: 168679