From 7181e8540ad688b7fcb3170ffb6e235f4fbdb3fc Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 20 Nov 2008 08:56:17 +0000 Subject: [PATCH] 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. --- src/server/lighttpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/lighttpd.conf b/src/server/lighttpd.conf index 58aa1a79e..2ecdeabe5 100644 --- a/src/server/lighttpd.conf +++ b/src/server/lighttpd.conf @@ -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.