Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 274573

Summary: www-servers/spawn-fcgi init.d script should support the "-d" option
Product: Gentoo Linux Reporter: Henry So, Jr. <henryso>
Component: New packagesAssignee: www-servers Herd (OBSOLETE) <www-servers+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch that enables passing a "-d" option to spawn-fcgi

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.