Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47841 Details for
Bug 76575
www-servers/lighttpd version bump to 1.3.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
spawn-fcgi-1.3.7.initd
spawn-fcgi-1.3.7.initd (text/plain), 1.49 KB, created by
Andreas Korthaus
on 2005-01-07 05:32:54 UTC
(
hide
)
Description:
spawn-fcgi-1.3.7.initd
Filename:
MIME Type:
Creator:
Andreas Korthaus
Created:
2005-01-07 05:32:54 UTC
Size:
1.49 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-www/spawn-fcgi/files/spawn-fcgi-1.1.0.initd,v 1.2 2004/09/28 01:44:05 swegener Exp $ > >SPAWNFCGI_PID="/var/run/spawn-fcgi.pid" >SPAWNFCGI_CONF="/etc/conf.d/spawn-fcgi.conf" > >if [ -r ${SPAWNFCGI_CONF} ]; then > . ${SPAWNFCGI_CONF} >fi > >depend() { > need net >} > >start() { > local my_end > > ebegin "Starting spawn-fcgi" > export PHP_FCGI_MAX_REQUESTS FCGI_WEB_SERVER_ADDRS > > EX="${SPAWNFCGI} -p ${FCGIPORT} -f ${FCGIPROGRAM} -u ${USERID} \ > -g ${GROUPID} -C ${PHP_FCGI_CHILDREN}" > > # copy the allowed environment variables > unset E > for i in ${ALLOWED_ENV}; do > E="${E} ${i}=${!i}" > done > > # clean environment and set up a new one > env - ${E} ${EX} 2>${SPAWNFCGI_PID} > my_end=$? > if [ "$my_end" != "0" ]; then > [ -f ${SPAWNFCGI_PID} ] && rm -f ${SPAWNFCGI_PID} > eend $my_end > fi > > #extract parent-process-id and write it back to the file > FCGI_PPID=`cat ${SPAWNFCGI_PID} | cut -d':' -f4` > echo ${FCGI_PPID} > ${SPAWNFCGI_PID} > eend 0 >} > >stop() { > ebegin "Stopping spawn-fcgi" > kill `cat ${SPAWNFCGI_PID}` > if [ -w ${SPAWNFCGI_PID} ]; then > rm ${SPAWNFCGI_PID}; > fi > eend 0 >}
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 Raw
Actions:
View
Attachments on
bug 76575
:
47533
|
47535
|
47536
|
47839
|
47840
| 47841