Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34062 Details for
Bug 55049
net-www/lighttpd-1.2.2 (new version, ebuild and scripts)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/lighttpd-1.2.2.initd
lighttpd-1.2.2.initd (text/plain), 1.51 KB, created by
Boris
on 2004-06-24 09:13:52 UTC
(
hide
)
Description:
files/lighttpd-1.2.2.initd
Filename:
MIME Type:
Creator:
Boris
Created:
2004-06-24 09:13:52 UTC
Size:
1.51 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >LIGHTTPD_PID="/var/run/lighttpd.pid" >LIGHTTPD_BIN="/usr/sbin/lighttpd" >LIGHTTPD_CONF="/etc/lighttpd.conf" >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 > use mysql logger > after sshd >} > >start() { > if [ "${ENABLE_SPAWNFCGI}" = "yes" ]; then > 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} > #extract parent-process-id and write it back to the file > FCGI_PPID=`cat ${SPAWNFCGI_PID} | cut -d':' -f4` > echo ${FCGI_PPID} > ${SPAWNFCGI_PID} > fi > > ebegin "Starting lighttpd" > ${LIGHTTPD_BIN} -f ${LIGHTTPD_CONF} > eend ${?} > pidof lighttpd >${LIGHTTPD_PID} >} > >stop() { > if [[ "${ENABLE_SPAWNFCGI}" = "yes" && -r ${SPAWNFCGI_PID} ]]; then > kill `cat ${SPAWNFCGI_PID}` > if [ -w ${SPAWNFCGI_PID} ]; then rm ${SPAWNFCGI_PID}; fi > fi > if [ -r ${LIGHTTPD_PID} ]; then > ebegin "Stopping lighttpd" > kill `cat ${LIGHTTPD_PID}` > eend $? > if [ -w ${LIGHTTPD_PID} ]; then rm ${LIGHTTPD_PID}; fi; > else > eerror "lighttpd: no PID-file found. no process killed!" > fi >}
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 55049
:
34060
|
34061
|
34062
|
34063
|
34064
|
35133