Revision: 10954
http://freenas.svn.sourceforge.net/freenas/?rev=10954&view=rev
Author: zippybr
Date: 2012-04-05 18:13:04 +0000 (Thu, 05 Apr 2012)
Log Message:
-----------
Update control to generate php-fpm.conf and remove php.ini custom setting
Modified Paths:
--------------
trunk/examples/plugins/minidlna_pbi/resources/control
Modified: trunk/examples/plugins/minidlna_pbi/resources/control
===================================================================
--- trunk/examples/plugins/minidlna_pbi/resources/control 2012-04-05 18:12:42 UTC (rev 10953)
+++ trunk/examples/plugins/minidlna_pbi/resources/control 2012-04-05 18:13:04 UTC (rev 10954)
@@ -13,10 +13,10 @@
port=$2
tmp=$(mktemp -t php)
- sed -e "s/^listen.*/listen = $ip:$port/" -e "s,^pid .*,pid = ${PHP_FPM_PID}," ${PHP_FPM_CONF} > ${tmp}
+ sed -e "s/^listen\s*=\s*.*/listen = $ip:$port/" -e "s,^pid .*,pid = ${PHP_FPM_PID}," ${PHP_FPM_CONF} > ${tmp}
mv ${tmp} ${PHP_FPM_CONF}
- ${PHP_FPM} -y ${PHP_FPM_CONF} -d cgi.fix_pathinfo=0
+ ${PHP_FPM} -y ${PHP_FPM_CONF}
return $?
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|