Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274573 - www-servers/spawn-fcgi init.d script should support the "-d" option
Summary: www-servers/spawn-fcgi init.d script should support the "-d" option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: www-servers Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 02:29 UTC by Henry So, Jr.
Modified: 2009-07-03 21:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that enables passing a "-d" option to spawn-fcgi (spawn-fcgi.initd.patch,358 bytes, patch)
2009-06-18 02:30 UTC, Henry So, Jr.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henry So, Jr. 2009-06-18 02:29:28 UTC
It would be great if the spawn-fcgi init.d script supported the "-d" option to change to a given directory before spawning the FastCGI script.  The attached patch to the init.d script adds a new "FCGI_DIR" variable which can be set (optionally) in the conf.d file for a given spawn-fcgi instance to set the directory to pass to the "-d" option.

Reproducible: Always

Steps to Reproduce:
N/A
Actual Results:  
N/A

Expected Results:  
N/A
Comment 1 Henry So, Jr. 2009-06-18 02:30:37 UTC
Created attachment 195042 [details, diff]
Patch that enables passing a "-d" option to spawn-fcgi
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-07-03 21:00:41 UTC
fixed in cvs. thanks for the report.