gf-server lighttpd.conf: put fcgi socket in basedir, with PID in name. This helps avoid clashed when running muyltiple gf servers on the same machine.

This commit is contained in:
bjorn
2008-11-20 08:56:17 +00:00
parent d6acf9ac89
commit 7181e8540a

View File

@@ -47,7 +47,7 @@ $HTTP["host"] =~ "^(.*)$" {
fastcgi.debug = 0
fastcgi.server = ( "/pgf" =>
((
"socket" => "/tmp/lighttpd-pgf.socket",
"socket" => basedir + "/" + var.PID + "-pgf.socket",
"bin-path" => basedir + "/pgf.fcgi",
# Use 2 OS threads (to be able to use 2 cores).
# Limit heap size to 512 MB.