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
Created attachment 195042 [details, diff] Patch that enables passing a "-d" option to spawn-fcgi
fixed in cvs. thanks for the report.