Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188105 Details for
Bug 265454
www-servers/spawn-fcgi init script fails
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch fixing bad whitespaces + adding a check for FCGI_PROGRAM
spawn-fcgi-whitsespace-fix+bin-check.patch (text/plain), 957 bytes, created by
Elias Probst
on 2009-04-12 17:09:23 UTC
(
hide
)
Description:
A patch fixing bad whitespaces + adding a check for FCGI_PROGRAM
Filename:
MIME Type:
Creator:
Elias Probst
Created:
2009-04-12 17:09:23 UTC
Size:
957 bytes
patch
obsolete
>--- /etc/init.d/spawn-fcgi 2009-04-12 16:44:32.948262000 +0200 >+++ /etc/init.d/spawn-fcgi.mine 2009-04-12 16:44:05.267515015 +0200 >@@ -39,6 +39,12 @@ > return 1 > fi > >+ if [ ! -e "${FCGI_PROGRAM}" ]; then >+ eerror "The file specified as \$FCGI_PROGRAM wasn't found" >+ eerror "Look at /etc/conf.d/spawn-fcgi.${PROGNAME}" >+ return 1 >+ fi >+ > local X E OPTIONS i RETVAL FCGI_PROGRAM_NAME > > if [ -z "${FCGI_ADDRESS}" ]; then >@@ -78,8 +84,8 @@ > [ -n "${FCGI_SOCKET}" ] && SOCKET_OPTION="-s ${FCGI_SOCKET}-${X}" > [ -n "${FCGI_PORT}" ] && INET_OPTION="-a ${FCGI_ADDRESS} -p $((${FCGI_PORT} + ${X} - 1))" > >- env ${E} start-stop-daemon --start --pidfile ${P} --exec ${SPAWNFCGI} \ >- --name ${FCGI_PROGRAM_NAME} -- ${SOCKET_OPTION} ${INET_OPTION} \ >+ env ${E} start-stop-daemon --start --pidfile ${P} --exec ${SPAWNFCGI} \ >+ --name ${FCGI_PROGRAM_NAME} -- ${SOCKET_OPTION} ${INET_OPTION} \ > -P ${P} ${OPTIONS} -- ${FCGI_PROGRAM} > RETVAL=$? >
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 265454
:
188105